PDA

View Full Version : jQuery Issue.



power fuse0
24-06-11, 19:09
Ok, perhaps someone could help with this.

I want a slideshow of text & images on my website that cycle continuously.
I found a plugin that works, but I can't really figure out how to personalise it that easily. I've had a go and made it look somewhat like I want, but I'm still getting a few problems.

#1 - My slideshow doesn't play on load.
#2 - I have a play and stop button which I want to merge into one.
#3 - My test page works using the exact same code as the real thing, but the real thing doesn't seem to work.

See if you can help me out aria :)

http://www.squidgytriangles.co.uk/new (doesn't work)
http://www.squidgytriangles.co.uk/new/test.html (does work using the same stylesheet & js & I think the same HTML)

Also I know that it bugs at start, but that's just because I commented out display:none so that II could see the divs that change.

guardy
24-06-11, 19:20
Links don't work for me.

power fuse0
24-06-11, 19:20
Links are fixed. Sorry Didnt realise the typos.

power fuse0
25-06-11, 20:01
bump.

heavywater
26-06-11, 00:07
What's the original plugin?

What did you change in it?

power fuse0
26-06-11, 16:46
It doesn't really matter what the original plugin is, the test I did works calling tot he same code as the one on the main page.

I believe it might be something to do with a href="#" being used for 2 instances of "tabs"

not sure what to do about it.


(plugin = http://flowplayer.org/tools/tabs/slideshow.html)

aidan2007
26-06-11, 17:31
Use nivo slider, its by far the best and I've customised it with ease many times.

Sent from my HTC Desire HD using Tapatalk

power fuse0
27-06-11, 08:37
Use nivo slider, its by far the best and I've customised it with ease many times.

Sent from my HTC Desire HD using Tapatalk

Doesn't quite do what I need it to do.
If you were to just look at the examples I have posted you'd see what I mean.

power fuse0
27-06-11, 13:32
Problem solved, new issue.
display:none; seems to make the images dissapear. and if I dont do that it cycles through all of the tab on load,.

aidan2007
27-06-11, 16:56
Usually in things like that the display:none; is used to turn all the images off then the JavaScript turns on the right one at the right time.

If the plugin is well written then the display:none; should be added with JavaScript upon page load and not hardcoded in the CSS as if someone has JavaScript off they will see nothing at all coz the CSS will be disabling the images with no JavaScript to turn them on.

Sent from my HTC Desire HD using Tapatalk

power fuse0
28-06-11, 11:41
Lol, I got it fixed eventually. I made a new div to display the images and I just had to put display:block; into the css for that new div.