[jQuery] TreeView - what alternatives are there?

2009-06-02 Thread Devin

I like TreeView, but its a little bland.  Is there anything with
similar functionality?


[jQuery] Re: Thickbox half-works.

2009-03-26 Thread Devin

Switching to an older version of jquery fixed the problem right
away.   Thank you so much!

Resolved.

On Mar 26, 9:44 am, Bert bert_le...@hotmail.com wrote:
 Thickbox gives this error with the latest JQuery version. use version
 1.2.6, worked for me that way.

 greetzwww.twitter.com/Be_Bert

 On 25 mrt, 15:46, Devin devin.corm...@gmail.com wrote:

  This is my code.   The problem I'm having is that when I click the
  thumbnail all I see the loading bar.  It just hangs there animated.
  Interestingly if I take the rel tag out of the images it works, but it
  doesn't show the previous and next options in the thickbox.

  Suggestions?

  !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
  html
    head
    script type=text/javascript src=thickbox/js/jquery-latest.js/
  script
  script type=text/javascript src=thickbox/js/thickbox-
  compressed.js/script
  link rel=stylesheet href=styles/thickbox.css type=text/css
  media=screen /
    meta http-equiv=content-type content=text/html;
  charset=windows-1250

    titleLab6b - jquery/title
    /head

    body
  a href=images/plant1.jpg title=add a caption to title attribute /
  or leave blank class=thickbox rel=gallery-plantsimg src=images/
  plant1_t.jpg alt=Plant 1 //a
  a href=images/plant2.jpg title=add a caption to title attribute /
  or leave blank class=thickbox rel=gallery-plantsimg src=images/
  plant2_t.jpg alt=Plant 2 //a
  a href=images/plant3.jpg title=add a caption to title attribute /
  or leave blank class=thickbox rel=gallery-plantsimg src=images/
  plant3_t.jpg alt=Plant 3 //a
  a href=images/plant4.jpg title=add a caption to title attribute /
  or leave blank class=thickbox rel=gallery-plantsimg src=images/
  plant4_t.jpg alt=Plant 4 //a
    /body
  /html


[jQuery] Thickbox half-works.

2009-03-25 Thread Devin

This is my code.   The problem I'm having is that when I click the
thumbnail all I see the loading bar.  It just hangs there animated.
Interestingly if I take the rel tag out of the images it works, but it
doesn't show the previous and next options in the thickbox.

Suggestions?


!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
  head
  script type=text/javascript src=thickbox/js/jquery-latest.js/
script
script type=text/javascript src=thickbox/js/thickbox-
compressed.js/script
link rel=stylesheet href=styles/thickbox.css type=text/css
media=screen /
  meta http-equiv=content-type content=text/html;
charset=windows-1250

  titleLab6b - jquery/title
  /head

  body
a href=images/plant1.jpg title=add a caption to title attribute /
or leave blank class=thickbox rel=gallery-plantsimg src=images/
plant1_t.jpg alt=Plant 1 //a
a href=images/plant2.jpg title=add a caption to title attribute /
or leave blank class=thickbox rel=gallery-plantsimg src=images/
plant2_t.jpg alt=Plant 2 //a
a href=images/plant3.jpg title=add a caption to title attribute /
or leave blank class=thickbox rel=gallery-plantsimg src=images/
plant3_t.jpg alt=Plant 3 //a
a href=images/plant4.jpg title=add a caption to title attribute /
or leave blank class=thickbox rel=gallery-plantsimg src=images/
plant4_t.jpg alt=Plant 4 //a
  /body
/html


[jQuery] tinyMCE... wow!. creating a link

2008-11-18 Thread Devin

Hi,
I'm amazed by this editor.  Although my experience with it is very
limited at this point, it truly seems like a masterpiece.

The application I am working on is intended for those that won't
necessarily have the time or skill.   The issue is the popup for
creating a link.

The only thing that should be there is a field for the link url.  It
will always be target _blank.

Is there a quick and easy way to do this?  I assume I could just make
my own and delete the other without violating the license.

Suggestions?


[jQuery] Advise me - data in openoffice spreadsheet - best way to manip. with jquery

2008-11-04 Thread Devin

Hi, I know I have been posting on here a lot.  I hope thats ok.  2
things: a) I'm new to jquery and I want to learn as much as I can, b)
I have projects going at work and personal projects.

So I have data in a spread sheet, Open Office.org.  So I can export it
in a few different formats.  The data is used in an offline webpage.
I have it working my creating a csv file then using a small app I
wrote to parse all the lines into a js array  arr[i] = readline, (not
important really).

The array is then searched and the results are put into a table using
document.createElement.

That is the main focus of what I am doing, but I would like an easier
way to incorporate everything.  The way it is now every time the user
updates the spreadsheet I have to reprocess it into the js file.  I
know there is a better way.

Also, in the long run it would be idea if the file could be updated on
the fly. For example if the user wanted to add a note to a particular
record.  This doesn't have to be incorporated now though, I was
thinking of using a java applet for that.   Just to reiterate - this
is only going to be used offline.   I tried to talk him into using a
server because this would be so much easier with a proper database.
Its just a free project I took on to help out.

Any thoughts?


Devin.


[jQuery] Re: R: [jQuery] search for text and replace or remove the element entirely

2008-11-03 Thread Devin

How would I perform NOT contains?



On Nov 3, 9:19 am, diego valobra [EMAIL PROTECTED] wrote:
 Hi devin, see if this could be what you'r looking for:

 http://docs.jquery.com/Selectors/contains#text

 Diego
 --- Lun 3/11/08, Devin [EMAIL PROTECTED] ha scritto:
 Da: Devin [EMAIL PROTECTED]
 Oggetto: [jQuery] search for text and replace or remove the element entirely
 A: jQuery (English) jquery-en@googlegroups.com
 Data: Lunedì 3 novembre 2008, 13:41

 Hi

 I'm trying to devise a way to check each cell in a table for a
 particular value.  When the value is found, I want to remove the row
 from the document.  Or, when its found I want to do a replace. (ie $
 (this).innerHTML.replace(name, Devin)   I know that
 syntax is
 wrong but I think it gets across what I'm trying to do)

 Thanks.

 D

       Unisciti alla community di Io fotografo e video, il nuovo corso di 
 fotografia di Gazzetta dello 
 sport:http://www.flickr.com/groups/iofotografoevideo


[jQuery] search for text and replace or remove the element entirely

2008-11-03 Thread Devin

Hi

I'm trying to devise a way to check each cell in a table for a
particular value.  When the value is found, I want to remove the row
from the document.  Or, when its found I want to do a replace. (ie $
(this).innerHTML.replace(name, Devin)   I know that syntax is
wrong but I think it gets across what I'm trying to do)

Thanks.

D


[jQuery] Re: search for text and replace or remove the element entirely

2008-11-03 Thread Devin

I think perhaps I wasn't totally clear on what I meant.  My example
was poor.  I want to search a string of text and replace all of the
commas  ,   with the pipe   |
,for example.


On Nov 3, 8:16 am, Jilani Jidni [EMAIL PROTECTED] wrote:
 please try this

 $(#tableId  tr  td).each(function(){
        this.text(your value);

 });

 this should be work for you.

 --
 with regards

 Jilani Jidni



 On Mon, Nov 3, 2008 at 6:41 PM, Devin [EMAIL PROTECTED] wrote:

  Hi

  I'm trying to devise a way to check each cell in a table for a
  particular value.  When the value is found, I want to remove the row
  from the document.  Or, when its found I want to do a replace. (ie $
  (this).innerHTML.replace(name, Devin)   I know that syntax is
  wrong but I think it gets across what I'm trying to do)

  Thanks.

  D- Hide quoted text -

 - Show quoted text -


[jQuery] changing the style of pre-checked checkboxes

2008-10-22 Thread Devin

Hi,
I've poked around for a solution but I can't find anything concise
enough for my jquery skill level.

When my page loads (asp) some checkboxes will be checked (depending on
the parameters).  I would like to have these checkboxes have a style
on them.  I know there is other ways but I would like to become more
familiar with jquery :)


Thanks for any help you can provide

D


[jQuery] Table Sorter - Freeze Panes (like Excel)

2008-10-20 Thread Devin

Hi.

I know there are solutions that work for freezing the TH or first row
of a table.  However I can't seem to find one that also has been
tested with table sorter.

Suggestions?

Thanks,

D.


[jQuery] Adding a double click event to a form element

2008-10-17 Thread Devin

Hi,
I'm new at this and I wasn't able to find what I was looking for by
searching.

On my form there is a few fields that will be populated when the page
is loaded.  These are fields that would rarely - if ever - be
changed.  So I want the user to have to double click the field to
enable it.  Thus ensuring that the fields aren't unintentionally
modified.

Any help appreciated!

D


[jQuery] Return folder location from file input dialog

2008-10-10 Thread Devin

Hi there.

I'm not sure if this is even possible but here is what I am trying to
accomplish.

The input type=file almost does it.   However I need it to let me
select a folder then return the name of the folder.  Thats it.  It
doesn't have to do anything with the folder, it just has to let the
user select the folder.

If you double click, or click a folder then click open it just opens
the folder in the dialog.


Any ideas?


[jQuery] navbar width problems

2008-09-19 Thread Devin

Hi,

I asked a bunch of questions in one post and perhaps that wasn't the
best idea.  I hope its ok to post one again, one of the more pertinent
ones.

My menu will ways have 7 submenus (each of those will have a varying
number of children and grand-children, etc)

Each main menu item of the 7 needs to have just a little bit of white
space between it and the next item.

I'd like to use percentages unless there is a better way to accomodate
variable widths.  However I can't seem to get them to fit tightly.
There is always a little bit of space at the right edge or one of the
items wraps to the next line.

Suggestions?


[jQuery] Superfish - 1:colors, 2:overlap, 3:animation removal 4:navbar spacing

2008-09-17 Thread Devin

Hello,
I have been using a menu system at work that is 10 times more
complicated than it needs to be.  Superfish does almost everything it
does and in some cases even more. So I'd like to get Superfish
implemented in my project.  I have some questions that I haven't been
able to find a quick fix to so any suggestions would be much
appreciated.

1)  In my horizontal navbar there are items.   Each drop-down menu has
its own colour scheme consisting of of 2 or 3 different colors.  I
can't find an easy way to implement this.

2) This menu/list is quite complex and deep as it is dynamically
generated by the server, so sometimes the menus can stretch too far to
the right.  What I would like to do is have the submenu have a little
bit of overlap on its parent.   I can do this but its buggy and for
the most part the parent covers up the child.

3) I would like to have no menu animation.  Boring maybe but it really
isn't necessary for my purposes

4) Ideally the menu would space evenly across the page.  My idea was
to do this with percentages but I haven't had any luck getting it to
stretch fully across the div its in.  There is always a little space
left at the right end, or one menu item ends up on the next line.

Thanks for any input you can provide!

:)

DC


[jQuery] jQuery Corner no longer works in Safari 3.1

2008-05-02 Thread Devin Torres

In previous versions this could be fixed by setting a background-color
on a parent node, but in recent versions (WebKit nightly too) it no
longer works.


[jQuery] WYMeditor hiccups

2007-05-28 Thread Devin Torres


http://studybreaks.com/story.php and click Preview within the WYMeditor

FireBug is telling me:
$j has no properties
fWYM_INIT_DIALOG(0)jquery.wymeditor (line 1263)
onload(load )story.php (line 1)
[Break on this error] if($j.isFunction(wym._options.fPreInitDialog))
jquery.wymeditor (line 1263)
jQuery is not defined
[Break on this error] null

However, $j is defined globally throughout jquery.wymeditor.js, as:
var $j = jQuery.noConflict();

Why would it not be defined in fWYM_INIT_DIALOG() ?

-Devin


[jQuery] Re: WYMeditor hiccups

2007-05-28 Thread Devin Torres


I do, indeed:

script type=text/javascript src=/static/js/jquery-latest.pack.js/script
script type=text/javascript src=/static/js/thickbox-compressed.js/script
script type=text/javascript src=/static/js/adrotate.js/script
script type=text/javascript src=/static/js/wymeditor/lang/en.js/script
script type=text/javascript
src=/static/js/wymeditor/jquery.wymeditor.js/script
script type=text/javascript
src=/static/js/wymeditor/plugins/hovertools/jquery.wymeditor.hovertools.js/script
script type=text/javascript
src=/static/js/wymeditor/plugins/tidy/jquery.wymeditor.tidy.js/script
script type=text/javascript src=/static/js/jquery.sbeditor.js/script

Which is what gets me, because at least jQuery if not $j should then
be defined, right?

On 5/28/07, Christof Donat [EMAIL PROTECTED] wrote:


Hi,

 However, $j is defined globally throughout jquery.wymeditor.js, as:
 var $j = jQuery.noConflict();

I have not looked at your code now, so this is just a guess. Are you shure,
that you have jQuery propperly loaded?

Christof



[jQuery] Re: jQuery PNG Fix

2007-05-19 Thread Devin Torres


Ah, yes, that seems like a really elegant solution. My problem was the
massive amount of transparent PNGs my site was already using. Going
back and applying a class to each image would be less
counter-productive. I can see his implementation breaking in more ways
than just traversing the DOM for img tags and applying it within. I
love the insight though, maybe there's something I can use from Klaus'
solution.

-Devin

On 5/18/07, Glen Lipka [EMAIL PROTECTED] wrote:

Im using this one right now.
http://www.stilbuero.de/2006/03/15/png-alpha-transparency-fast-and-easy/

Glen


On 5/18/07, Devin [EMAIL PROTECTED] wrote:

 This is a jQuery plugin I created to adapt pngfix.js from Bob Osola to
 use the jQuery framework.

 If anybody has any further recommendations or improvements, don't
 hesitate to let me know. :-)

 $(document).ready(function(){

 if ($.browser.msie  (document.body.filters))  {
 $(img).each(function(i){
var imgName = $.trim(this.src.toLowerCase());

if (imgName.substring(imgName.length-3, imgName.length) ==
png) {
var imgID = ( this.id) ? id=' + this.id + '  :
;
var imgClass = (this.className) ? class=' +
this.className + '
  : ;
var imgTitle = (this.title) ? title=' +
this.title + '  :
 title=' + this.alt + ' ;
var imgStyle = display:inline-block; +
this.style.cssText;

if (this.align == left) {
imgStyle = float:left; + imgStyle;
}

if ( this.align == right) {
imgStyle = float:right; + imgStyle;
}

if (this.parentElement.href) {
imgStyle = cursor:hand; + imgStyle;
}

this.outerHTML = span  + imgID + imgClass +
imgTitle
+  style=\ + width: + this.width +
px; height: +
 this.height + px; + imgStyle + ;
+
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=
 \' + this.src + \', sizingMethod='scale');\/span;
}
});
 }

 });






[jQuery] Re: jQuery PNG Fix

2007-05-19 Thread Devin Torres


I suppose a selector such as this is faster than injecting HTML, right?

On 5/19/07, Klaus Hartl [EMAIL PROTECTED] wrote:


Devin Torres wrote:

 Ah, yes, that seems like a really elegant solution. My problem was the
 massive amount of transparent PNGs my site was already using. Going
 back and applying a class to each image would be less
 counter-productive. I can see his implementation breaking in more ways
 than just traversing the DOM for img tags and applying it within. I
 love the insight though, maybe there's something I can use from Klaus'
 solution.

 -Devin

The class is not required at all and just an example. You could use
whatever selector suits your needs:

body img {
 ...
}


-- Klaus






[jQuery] jQuery PNG Fix

2007-05-18 Thread Devin

This is a jQuery plugin I created to adapt pngfix.js from Bob Osola to
use the jQuery framework.

If anybody has any further recommendations or improvements, don't
hesitate to let me know. :-)

$(document).ready(function(){

if ($.browser.msie  (document.body.filters))  {
 $(img).each(function(i){
var imgName = $.trim(this.src.toLowerCase());

if (imgName.substring(imgName.length-3, imgName.length) == 
png) {
var imgID = (this.id) ? id=' + this.id + '  : ;
var imgClass = (this.className) ? class=' + 
this.className + '
 : ;
var imgTitle = (this.title) ? title=' + this.title + 
'  :
title=' + this.alt + ' ;
var imgStyle = display:inline-block; + 
this.style.cssText;

if (this.align == left) {
imgStyle = float:left; + imgStyle;
}

if (this.align == right) {
imgStyle = float:right; + imgStyle;
}

if (this.parentElement.href) {
imgStyle = cursor:hand; + imgStyle;
}

this.outerHTML = span  + imgID + imgClass + imgTitle
+  style=\ + width: + this.width + px; 
height: +
this.height + px; + imgStyle + ;
+ 
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=
\' + this.src + \', sizingMethod='scale');\/span;
}
});
}

});