[jQuery] cycle plugin calling onclick function automatically
I've posted troubles with this site in the past. I'm still having some problems with the cycle plugin. Here is the URL: http://adc4web.adceval.com/#_contact-us What happens when you go to that url is that it first goes to the home page and then uses the cycle plugin to transition to the "Contact Us" page. However somewhere along the line while or after the cycle plugin is used it calls an onclick function that I have set on a link at that page. The function is "showMaps()" attached to "drive out". My current fix for this is to hide the maps after the plugin finishes, however you can clearly see the maps flash up on the page. Anyone know why this is happening? Thanks Mike
[jQuery] Cycle plugin messing with hidden list
I am using the cycle plugin to swap entire pages for my navigation. On one page, I have a unordered list that is supposed to be "display:none" by default. Then when a link on the page is click, it shows slowly. However, for some reason the cycle plugin seems to be showing it by default and overriding my "display:none". Anyone know how I can fix this?Thanks Mike
[jQuery] remove ID
Is it possible to remove an ID from an element with Jquery or javascript for that matter? I've searched and all I can find is how to remove the whole element, I just want to remove the ID.Thanks Mike
[jQuery] Re: keep user from clicking links while cycle is in motion
For some reason the footer links don't work when I put the code in util.js. So I had to make a seperate file for them. On Fri, Dec 19, 2008 at 12:12 PM, Mike Alsup wrote: > > > Anyone have some ideas as to how to stop/prevent the user from clicking > or > > even just prevent something from happening when the user clicks a link > while > > the cycle is in motion.Thanks > > Mike > > > > On Thu, Dec 18, 2008 at 8:39 AM, Mike Dodge > wrote: > > > I am working on a site here: adc4web.adceval.com I have a problem > where > > > while the cycle is shifting a page, the user can still click a link and > this > > > screws up the cycle after clicking a bunch of links. Is there a way to > > > prevent the user from clicking a link until the cycle is done? Thanks > > > Mike > > Looks like you're doing a lot of extra work in > internalPageSwitcher.js. Cycle should be able to handle this on its > own and it automatically ignores clicks that occur during an > animation. > > Mike >
[jQuery] Re: keep user from clicking links while cycle is in motion
Anyone have some ideas as to how to stop/prevent the user from clicking or even just prevent something from happening when the user clicks a link while the cycle is in motion.Thanks Mike On Thu, Dec 18, 2008 at 8:39 AM, Mike Dodge wrote: > I am working on a site here: adc4web.adceval.com I have a problem where > while the cycle is shifting a page, the user can still click a link and this > screws up the cycle after clicking a bunch of links. Is there a way to > prevent the user from clicking a link until the cycle is done? Thanks > Mike >
[jQuery] animate image size
I saw the demos where div sizes were animated. Can this be done with an image? I have some button(image) links on my site. I would like to make each image a little bigger when you hover over it. Anyone know the best way to do this?Thanks Mike
[jQuery] keep user from clicking links while cycle is in motion
I am working on a site here: adc4web.adceval.com I have a problem where while the cycle is shifting a page, the user can still click a link and this screws up the cycle after clicking a bunch of links. Is there a way to prevent the user from clicking a link until the cycle is done?Thanks Mike
[jQuery] Re: using cycle for website navigation, choppy in firefox
I just figured something else out. I took out this line out of that CSS block: overflow-y: auto !important; And it fixed the problem. Does anyone know of a workaround for this? Thanks Mike On Thu, Dec 18, 2008 at 8:34 AM, Mike Dodge wrote: > I changed it to absolute instead of fixed, didn't fix it. I'm not sure > what you meant by " Try using it as a background-image for the > body or a layer". That background image is in the layout template and does > not cycle. > This started happening when I added the .scrolling div. The CSS for that > is: > .scrolling { > overflow-y: auto !important; > position: absolute; > width: 100%; > height: auto; > top: 290px; > bottom: 0; > } > I need this because if the resolution is short (~900 or less), it starts to > hide content and it needs to add a scrollbar, but I couldn't have all the > content on the page scrolling, so I just put it around the content boxes and > the footer. > > Thanks > Mike > > > On Wed, Dec 17, 2008 at 9:29 PM, Ricardo Tomasi wrote: > >> >> I can see the choppiness you mention here (FF3 on a 2.0ghz PC). It >> seems the image at the #bottomback div is somehow being affected/moved >> by the slide animations. Try using it as a background-image for the >> body or a layer, and use absolute positioning instead of fixed - >> doesn't make any difference in your case, because the page doesn't >> have any scrolling, but could improve performance. >> >> On Dec 17, 6:05 pm, "Mike Dodge" wrote: >> > Great news, I was able to get the site online so I can show others and >> > therefore get some help. Here is the URL:http://adc4web.adceval.com >> > Any insight to why it is being jerky/choppy would be greatly >> appreciated. >> > Thanks >> > Mike >> > >> > On Tue, Dec 16, 2008 at 11:42 AM, Mike Alsup wrote: >> > >> > > > I am creating a website for my company. I am using the cycle plugin >> to >> > > > navigate horizontally between pages. The plugin is awesome. >> However the >> > > > site is starting to get pretty full and I've just added something >> that >> > > has >> > > > made the cycle navigation choppy, just in firefox. The site is not >> > > public >> > > > so I don't have a URL. But I just added a div to the page to allow >> for >> > > some >> > > > internal scrolling which seemed to be the cause of the choppiness. >> > > > Here is the CSS for the div that I just added that made the site >> choppy. >> > > > This div goes inside of the div that gets cycled. >> > > > .scrolling { >> > > > overflow-y: auto !important; >> > > > position: absolute; >> > > > width: 100%; >> > > > height: auto; >> > > > top: 270px; >> > > > bottom: 0; >> > >> > > > } >> > >> > > > Is there something obvious in here that might be causing the >> problem? Or >> > > do >> > > > I need to show more code? >> > > > Thank you very much. >> > > > Mike >> > >> > > That's not enough code to give me any ideas. Can you create a small >> > > demo page that shows the problem and post a link? >> > >
[jQuery] Re: using cycle for website navigation, choppy in firefox
I changed it to absolute instead of fixed, didn't fix it. I'm not sure what you meant by " Try using it as a background-image for the body or a layer". That background image is in the layout template and does not cycle. This started happening when I added the .scrolling div. The CSS for that is: .scrolling { overflow-y: auto !important; position: absolute; width: 100%; height: auto; top: 290px; bottom: 0; } I need this because if the resolution is short (~900 or less), it starts to hide content and it needs to add a scrollbar, but I couldn't have all the content on the page scrolling, so I just put it around the content boxes and the footer. Thanks Mike On Wed, Dec 17, 2008 at 9:29 PM, Ricardo Tomasi wrote: > > I can see the choppiness you mention here (FF3 on a 2.0ghz PC). It > seems the image at the #bottomback div is somehow being affected/moved > by the slide animations. Try using it as a background-image for the > body or a layer, and use absolute positioning instead of fixed - > doesn't make any difference in your case, because the page doesn't > have any scrolling, but could improve performance. > > On Dec 17, 6:05 pm, "Mike Dodge" wrote: > > Great news, I was able to get the site online so I can show others and > > therefore get some help. Here is the URL:http://adc4web.adceval.com > > Any insight to why it is being jerky/choppy would be greatly appreciated. > > Thanks > > Mike > > > > On Tue, Dec 16, 2008 at 11:42 AM, Mike Alsup wrote: > > > > > > I am creating a website for my company. I am using the cycle plugin > to > > > > navigate horizontally between pages. The plugin is awesome. However > the > > > > site is starting to get pretty full and I've just added something > that > > > has > > > > made the cycle navigation choppy, just in firefox. The site is not > > > public > > > > so I don't have a URL. But I just added a div to the page to allow > for > > > some > > > > internal scrolling which seemed to be the cause of the choppiness. > > > > Here is the CSS for the div that I just added that made the site > choppy. > > > > This div goes inside of the div that gets cycled. > > > > .scrolling { > > > > overflow-y: auto !important; > > > > position: absolute; > > > > width: 100%; > > > > height: auto; > > > > top: 270px; > > > > bottom: 0; > > > > > > } > > > > > > Is there something obvious in here that might be causing the problem? > Or > > > do > > > > I need to show more code? > > > > Thank you very much. > > > > Mike > > > > > That's not enough code to give me any ideas. Can you create a small > > > demo page that shows the problem and post a link? >
[jQuery] Re: using cycle for website navigation, choppy in firefox
Great news, I was able to get the site online so I can show others and therefore get some help. Here is the URL: http://adc4web.adceval.com Any insight to why it is being jerky/choppy would be greatly appreciated. Thanks Mike On Tue, Dec 16, 2008 at 11:42 AM, Mike Alsup wrote: > > > I am creating a website for my company. I am using the cycle plugin to > > navigate horizontally between pages. The plugin is awesome. However the > > site is starting to get pretty full and I've just added something that > has > > made the cycle navigation choppy, just in firefox. The site is not > public > > so I don't have a URL. But I just added a div to the page to allow for > some > > internal scrolling which seemed to be the cause of the choppiness. > > Here is the CSS for the div that I just added that made the site choppy. > > This div goes inside of the div that gets cycled. > > .scrolling { > > overflow-y: auto !important; > > position: absolute; > > width: 100%; > > height: auto; > > top: 270px; > > bottom: 0; > > > > } > > > > Is there something obvious in here that might be causing the problem? Or > do > > I need to show more code? > > Thank you very much. > > Mike > > > That's not enough code to give me any ideas. Can you create a small > demo page that shows the problem and post a link?
[jQuery] using cycle for website navigation, choppy in firefox
I am creating a website for my company. I am using the cycle plugin to navigate horizontally between pages. The plugin is awesome. However the site is starting to get pretty full and I've just added something that has made the cycle navigation choppy, just in firefox. The site is not public so I don't have a URL. But I just added a div to the page to allow for some internal scrolling which seemed to be the cause of the choppiness. Here is the CSS for the div that I just added that made the site choppy. This div goes inside of the div that gets cycled. .scrolling { overflow-y: auto !important; position: absolute; width: 100%; height: auto; top: 270px; bottom: 0; } Is there something obvious in here that might be causing the problem? Or do I need to show more code? Thank you very much. Mike