[jQuery] Auto link key words and phrases

2009-11-16 Thread Wacko Jacko
Hi Team, I would like to put together a basic tagging system in Adobe Business Catalyst. I need to be able to define: If keyword / phrase appears in #id make wrap a following href X around it. So I would define a list of key phrases that may appear in the #id and the links to add to them. I hope

[jQuery] Re: css based on url wildcard

2009-11-12 Thread Wacko Jacko
url contains current url. > jQuery : $('#id_of_element').addClass('class') selects and element with the > id 'id_of_element' and adds the class 'class'. > I'll let you add the if and write the regexp (straight JS). > > Michel Belleville > >

[jQuery] css based on url wildcard

2009-11-08 Thread Wacko Jacko
Hi All, Just wondering if there is a way with jQuery of adding css to an id based on a url wildcard? Eg, if the current url contains 'BlogRetrieve.aspx' add .class to this #id. Thanks in advance for your help. Jackson

[jQuery] Named Anchor Index from Headings

2009-10-29 Thread Wacko Jacko
Hi! Would like to automatically generate an 'Anchor' index at the top of the page like this: http://www.beausmith.com/mt/2009/07/heading-anchors-via-jquery.php Just wondering if anyone has used this and if there is a simpler way / better method? Thanks, Jackson

[jQuery] Re: Hide row if empty

2009-10-08 Thread Wacko Jacko
Hi There. Yeah, just did. Thanks for that! Why does my test using the same code not work :( http://www.noosabiosphere.org.au/tester.htm On Oct 9, 8:46 am, Charlie wrote: > did you look at the working example on jsbin where the li is being hidden? > Wacko Jacko wrote:Thanks Bohdan.

[jQuery] Re: Hide row if empty

2009-10-08 Thread Wacko Jacko
- > Bohdan > > On Oct 8, 6:17 am, Wacko Jacko wrote: > > > I am having a bit of trouble with this one. Thanks for your help. I > > could get it working if the parent is a but not if it's an . > > > Here's my html: > > > > >

[jQuery] Re: Hide row if empty

2009-10-07 Thread Wacko Jacko
.answer') but this does not seem to make any difference. I really appreciate your help on this. Jack On Oct 1, 3:34 pm, Wacko Jacko wrote: > Brilliant! I will try this and get back to you.Thanks for your time! > > On Oct 1, 3:21 pm, Charlie Griefer wrote: > > > Assuming yo

[jQuery] Re: Hide row if empty

2009-09-30 Thread Wacko Jacko
g with server side data like that, couldn't you just write > > a conditional in whatever language you're using (PHP, CF, ASP, etc) to not > > display the if no data? > > > Also, do you really mean to re-use "database" as an ID for multiple > > elemen

[jQuery] Re: Hide row if empty

2009-09-30 Thread Wacko Jacko
ide data like that, couldn't you just write a > conditional in whatever language you're using (PHP, CF, ASP, etc) to not > display the if no data? > > Also, do you really mean to re-use "database" as an ID for multiple > elements?  ID's ought to be uniq

[jQuery] Hide row if empty

2009-09-30 Thread Wacko Jacko
Hi All, If I had a list displaying data as follows: Label Here{content here if available from database} Label Here{content here if available from database} Could I hide the whole if their is nothing available to show from the database in ? Thanks in advance for your help Jack

[jQuery] Re: Target specific ul list items for css

2009-07-01 Thread Wacko Jacko
> fifth > sixth > > > Then you can target them by: > > $("#fifth") in jquery OR > > #fifth { > > } > > in CSS > > On Jul 1, 6:10 pm, Wacko Jacko wrote: > > > How would I target (with jQuery or normal javascript) the 5th and 6th

[jQuery] Target specific ul list items for css

2009-07-01 Thread Wacko Jacko
How would I target (with jQuery or normal javascript) the 5th and 6th li in an unsorted list for styling? I need to change the css for only 2 items in a list. Thanks in advance for your help.

[jQuery] Re: Toggle child elements

2009-01-26 Thread Wacko Jacko
it has a fixed top position.  The height > of the container increases from zero to some value, gradually > revealing the contents - much as if you are opening a sliding door. > > On Jan 22, 6:05 pm, Wacko Jacko wrote: > > > Anyone? Am a barking up the wrong tree? > > > On

[jQuery] Hide specific characters

2009-01-22 Thread Wacko Jacko
Hi There, I am using a CMS product that does not enable me to hide cart totals from their cart summary. I need to do this for this particular client. Here a snippet of code for the rendered page: 2 item(s), Total: $0.00 View Cart I would like to hide (or remove) from the exact following sectio

[jQuery] Re: Toggle child elements

2009-01-22 Thread Wacko Jacko
Anyone? Am a barking up the wrong tree? On Jan 12, 10:48 am, Wacko Jacko wrote: > Hi donb, > > It sounds like you know much more than I do. I am still quite new to > jQuery. Can you point me in the right direction to have these elements > slide in (down)? > > Thanks in

[jQuery] Re: Toggle child elements

2009-01-11 Thread Wacko Jacko
st of an expanding div - meaning, > the contents (and the outermost div) are fixed in position?  Nothing > is actually 'sliding down' > > On Jan 7, 8:58 pm, Wacko Jacko wrote: > > > Hi All, > > > Quite new to jQuery so would very much appreciate your hel

[jQuery] Toggle child elements

2009-01-07 Thread Wacko Jacko
Hi All, Quite new to jQuery so would very much appreciate your help. http://www.punklogic.com.au/contact-punk-logic.htm if you click on the tab in the header called 'PunkLogic elsewhere' you will notice I have used the toggle command to view a div in the header. Problem is, the elements etc in