This is a discussion on "Timeline difficulties" within the Starting Out section. This forum, and the thread "Timeline difficulties are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Timeline difficulties
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
Timeline difficulties
I'm a total newbie web designer trying to get my page to have an option to replace an image with another, and then replace that with another, and so on.
I'm trying to use a timeline to do so. I'm using Ap div tags, but the problem is, whenever I view them in different computers, or when the screen is not maximized the image moves to a different location in the browser. Should I not use Ap divs? And if not what should I use? Or should I use something other than a timeline to this? Thanks. |
|
|
|
#2
|
|||
|
|||
|
Re: Timeline difficulties
You could use javascript (but check what happens when it's disabled). Like this:
|
|
#3
|
|||
|
|||
|
Re: Timeline difficulties
I've never used Javascript before so where would I insert this code at?
By the way here's a page of my website I'm creating... http://www.serepro.net/aboutus.html Just to give you a better idea of what I'm trying to do. The layers are off centered, and that's what I'm trying to fix. They are centered in Dreamweaver, however. |
|
#4
|
|||
|
|||
|
Re: Timeline difficulties
Oh god, now I see what you're doing.
You definitely need to stop using "AP div tags" (or absolute positioning, as we who live outside the Dreamweaver habitat call it). Absolute positioning is a powerful tool. Do not use it unless you understand how it works; it can destroy website layouts in a heartbeat. As for changing images, I can't imagine how you could do this without a scripting language, and javascript is the obvious choice. It's possible that Dreamweaver can manage this for you, with some bloated, hoary widget; but that dark art is beyond my comprehension. Quote:
Last edited by MikeHopley; Nov 29th, 2007 at 23:44. |
|
#5
|
|||
|
|||
|
Re: Timeline difficulties
Hmm.. this is what I feared.
Does anyone else know a "bloated, hoary widget" I can use in Dreamweaver for this? Otherwise I guess I'll just abandon the whole idea of switching images. |
|
#6
|
||||
|
||||
|
Re: Timeline difficulties
The "next" button works fine. If you want the images to cycle with javascript then I'd use code someone already made. And after a quick google search I found this.
http://www.javascriptcity.com/scripts/img/simage5.htm Now this has captions as well, but you can get rid of those.
Last Blog Entry: Happy Holidays - A Non Offensive way to say Merry Christmas? WRONG! (Dec 11th, 2007)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Animated Timeline in Flash | student_in_training | Flash & Multimedia Forum | 3 | Nov 19th, 2007 14:12 |
| Help with timeline transition | LyndonSG | Flash & Multimedia Forum | 1 | Aug 15th, 2007 07:56 |
| Flash Timeline problems | jjpeacha | Flash & Multimedia Forum | 7 | Aug 14th, 2007 21:58 |
| trouble updating within timeline | haightdays | Flash & Multimedia Forum | 10 | Jan 14th, 2007 20:38 |
| Cross-Browser difficulties... | Dapandyman | Web Page Design | 6 | Dec 9th, 2006 20:53 |