Timeline difficulties

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.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Starting Out

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Nov 29th, 2007, 20:40
New Member
Join Date: Nov 2007
Location: Florida
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Nov 29th, 2007, 21:15
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Timeline difficulties

You could use javascript (but check what happens when it's disabled). Like this:

Code: Select all
document.getElementById("myImageID").src = "newImageFileName.xxx"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Nov 29th, 2007, 21:36
New Member
Join Date: Nov 2007
Location: Florida
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Nov 29th, 2007, 23:41
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
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:
They are centered in Dreamweaver, however.
Sadly, this means absolutely nothing. Dreamweaver's preview is useless, because nobody uses DW as a browser. Test in Firefox (or Opera, or any other good browser), and hack for IE.

Last edited by MikeHopley; Nov 29th, 2007 at 23:44.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Nov 30th, 2007, 18:23
New Member
Join Date: Nov 2007
Location: Florida
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Nov 30th, 2007, 18:39
JustinStudios's Avatar
Reputable Member
Join Date: Mar 2007
Location: USA
Posts: 404
Blog Entries: 3
Thanks: 0
Thanked 0 Times in 0 Posts
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT. The time now is 16:08.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42