Disjointed rollover .swf, Using a .swf in a rollover. |
Disjointed rollover .swf, Using a .swf in a rollover. |
Zoee |
Sep 10 2008, 03:19 AM
Post
#1
|
Member Group: Members Posts: 46 Joined: 26-March 08 Member No.: 5,294 |
Hi there, I have a javascript banner which creates a disjointed roll over on this page:
http://www.s252710280.websitehome.co.uk/primeholidays/ I want to replace the clear.jpg with this: http://www.s252710280.websitehome.co.uk/pr...!!.html The clear.jpg is referenced in the script and then again as in the main code as a 'holder'. I have no idea how to get this map in the place of the .jpg! Thanks!! Zoe This post has been edited by Zoee: Sep 10 2008, 03:20 AM |
Christian J |
Sep 10 2008, 05:45 AM
Post
#2
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
This seems to be about client-side scripting, so I move it there.
|
Christian J |
Sep 10 2008, 05:49 AM
Post
#3
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
The rollover script just changes the SRC of the various existing images. To make it insert the markup required to load a Flash animation you must probably rewrite the script completely.
|
Zoee |
Sep 10 2008, 12:14 PM
Post
#4
|
Member Group: Members Posts: 46 Joined: 26-March 08 Member No.: 5,294 |
|
Christian J |
Sep 10 2008, 12:49 PM
Post
#5
|
. Group: WDG Moderators Posts: 9,653 Joined: 10-August 06 Member No.: 7 |
If you only want to show the Flash movie as the default (and instead show the jpg images during the rollovers) maybe you can add the Flash embedding markup next to the IMG place holder, then hide the Flash markup and show the IMG placeholder during rollovers.
|
Frederiek |
Sep 10 2008, 04:13 PM
Post
#6
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
Or don't use the Flash, but create something similar to Stu Nicholls' Solar image map.
|
Zoee |
Sep 17 2008, 01:46 AM
Post
#7
|
Member Group: Members Posts: 46 Joined: 26-March 08 Member No.: 5,294 |
I now have a code thats been created for me to correct this:
http://www.s252710280.websitehome.co.uk/primeholidays/ The flash is in a div tag but I need to align the div to the top left of the table or cell not the top left of the browser because the page is centered, can this be done and how? Thanks! This post has been edited by Zoee: Sep 17 2008, 01:47 AM |
pandy |
Sep 17 2008, 02:07 AM
Post
#8
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
I don't see any flash at all.
|
Zoee |
Sep 17 2008, 10:32 AM
Post
#9
|
Member Group: Members Posts: 46 Joined: 26-March 08 Member No.: 5,294 |
http://www.s252710280.websitehome.co.uk/pr...ays/index1.html
The map is the blank space. Thanks again! This post has been edited by Zoee: Sep 17 2008, 10:33 AM |
Frederiek |
Sep 17 2008, 11:53 AM
Post
#10
|
Programming Fanatic Group: Members Posts: 5,146 Joined: 23-August 06 From: Europe Member No.: 9 |
The flash only shows a white box, probably causes by the html errors found by the online validator (links on top and bottom of this page).
Fix those first and then also go see http://alistapart.com/articles/flashsatay. |
Zoee |
Sep 17 2008, 12:05 PM
Post
#11
|
Member Group: Members Posts: 46 Joined: 26-March 08 Member No.: 5,294 |
I'll validate the page but I need to know how to position the flash in the div tag, is it possible to align it to the top left of the table no the browser?
|
Zoee |
Sep 22 2008, 07:23 AM
Post
#12
|
Member Group: Members Posts: 46 Joined: 26-March 08 Member No.: 5,294 |
Is there not a way to align the div this way?
Thanks! This post has been edited by Zoee: Sep 22 2008, 07:23 AM |
moo |
Sep 22 2008, 08:58 AM
Post
#13
|
Member Group: Members Posts: 46 Joined: 12-September 07 Member No.: 3,783 |
Is there not a way to align the div this way? Thanks! It's messy and I wouldn't usually advise doing so, but in answer to your question - try completely removing the top and left positions from the div "uniquename" so that it is not told where to position itself. It should then be held in place by the containing table-cell. I'm not going to error-check it for you but you have defined the colspan attribute twice in the line: CODE <td colspan="2" height="60" width="341" align="left" colspan="2"> </td> |
Lo-Fi Version | Time is now: 19th April 2024 - 10:45 PM |