[jQuery] Re: jQuery Cycle - Get Current Slide Number

2009-08-05 Thread Charlie Tomlinson
sorry , your next and prev ID's will need to be unique, change them iin new constructor Ed F. wrote: I figured out a way to make the "current slide number" work for multiple slideshows on the same page, but i have to repeat the function declarations for each instance of a slideshow,

[jQuery] Re: Check if element is shown with show()

2009-08-04 Thread Charlie Tomlinson
or add an "acitve" class when one is opened, then do $("active").hide().removeClass("active") when click another one. Only "active" will be visible rupak mandal wrote: If youassignsame class to all the paragraph. so on clicking on menu you have to hide to the class element and show

[jQuery] Re: Handling html with javascript in .html()

2009-04-15 Thread Charlie Tomlinson
simple solution using your example that works Create a js file "test.js" containing : $('#freediv').html('h1 id="test"test/h1'); $("#test").click(function(){ alert("Bla"); }); I used an a tag in html to click to call the test.js file as follows: script type="text/_javascript_"

[jQuery] Re: Need Help with changing css on an object

2009-03-08 Thread Charlie Tomlinson
good case of trying to add a bunch of script when simple css works. Spriting the menu images into one (with or without the text included on each part of image), adding a :hover in css avoids an unnecessary server request for another image and works if scripting disabled

[jQuery] Re: Superfish menu, IE7 bug - menu expands in a flash when changing page

2009-03-08 Thread Charlie Tomlinson
multilevel.css has an unclosed comment mark might be causing a problem /*.nav li:hover ul,ul.nav li.sfHover ul {left:0px;top:2em;} jonasnorlin wrote: Hey all ! I have created a superfish menu for my modx website, based on the exsisting menu: wayfinder.jmultilevel. Note: the

[jQuery] Re: How to use the plugins into our project

2009-03-07 Thread Charlie Tomlinson
download plug in, include the script on page, follow plugin API bharani kumar wrote: Assum for example i want this plugin http://plugins.jquery.com/project/Plugins/category/20 Add to list, How to customize this into my work area, Can some one share your ideas,

[jQuery] Re: Trying to change CSS values for .ui-tabs but....

2009-03-05 Thread Charlie Tomlinson
.ui-state-active a {} this works in firebug on current version of tabs on themeroller page webspee...@gmail.com wrote: I can change the properties that I need to change except the a color of the clicked tab. I've tried many combos, here is what I have. /* Tabs

[jQuery] Re: Trying to add/remove a class when....

2009-03-05 Thread Charlie Tomlinson
input isn't a css "class",, it's a tag with css attributes have you tried ("input").css ()? webspee...@gmail.com wrote: Hey all. I'm trying to add/remove a class and am having trouble. When I add the new class, the color takes hold, but not the changing of the background image. The

[jQuery] Re: Adding additional callbacks to image slides

2009-03-02 Thread Charlie Tomlinson
S3Slider Plugin(JQuery) does what you want,http://www.serie3.info/s3slider/ sharp looking demos too HM-User wrote: I have a number of image slides which are fading in and out and I am also using the pager option (jQuery Cycle). What I want to know however is, is it possible to invoke

[jQuery] create table ID's from index

2009-03-01 Thread Charlie Tomlinson
have about 150 html tables ( all same format, headings etc). Trying to assign ID's based on fact they all carry appropriate name in same td index in table. not heavily versed in JS and closest I've come is $("table").each(function(i){ var country_name= $("this tr:eq(1) td:eq(1)

[jQuery] Re: create table ID's from index

2009-03-01 Thread Charlie Tomlinson
reference the table's id in: this.id = country_name +this.id + i; so unless the table already has an id, the second this.id will be undefined. On Mar 1, 10:04pm, Charlie Tomlinson charlie...@gmail.com wrote: have about 150 html tables ( all same format, headings etc). Trying to assign

[jQuery] Re: create table ID's from index

2009-03-01 Thread Charlie Tomlinson
first",this).text(); On Mar 1, 10:49pm, Charlie Tomlinson charlie...@gmail.com wrote: where it stands now, tables have no id's however if i put the variable I'm taking from a td and write it as "country_name" + this.id +i it produces the variable name (not value) with index

[jQuery] Re: jcarousel lite plug in help needed

2009-02-28 Thread Charlie Tomlinson
the problem you are having is CSS . There should be a file of CSS to hold all the components of the carousel together. I looked and didn't see one on site for Lite version read up on CSS. html generates the content but it needs to be displalyed in proper location, color etc with CSS. The

[jQuery] Re: [tooltip] help please

2009-02-28 Thread Charlie Tomlinson
just went through that download today to implement. I ended up grabbing screen.css from project demo site and found some of the tooltip components on there and all works well paulmo wrote: am not getting the stylized popup window (generic yellow box instead). all files in my server root

[jQuery] Re:help to develop my Jquery Accordion

2009-02-22 Thread Charlie Tomlinson
you haven't explained what the problem is have you a link to look at? lock2007 wrote: Hi, I tried for a few days to have a code "JQuery Accordion" for my menu as it is used in the Apple site. But I still have problems. So I found another nice code in the address: