Click to See Complete Forum and Search --> : Dreamweaver: Few questions


RoddersPrime
11-24-2007, 01:05 PM
Hello guys,

I need your help with 2 things. I am currently building a website using Dreamweaver and whilst doing it I am having problems implement the design I wanted. Dreamweaver is great but I can't seem to find solutions to my problem in the menu.

1st Problem. I created a Welcome page with a Flash video embedded. I would like for the user to be automatically taken to the homepage as soon as the Video has finished playing instead of the user having to click on a hyperlink. I heard that I ought to use Get Url but I have no idea how to use it in neither Dreamweaver nor in Macromedia Flash.

2nd Problem On one page I have made an image with hotspots in the PGN format that also pops-up image and text. I have managed to import it from Fireworks onto an HTML page then onto my Dreamweaver page. My problem is in linking those hotspots to the text that goes with the whole image. I created A layer right next to the Hotspots Image where I put a Text box. Is it possible for that text box to display different sets of text when a certain hotspot is clicked? I thought I would just paste the whole text into a text scroll box with each Paragraph an anchor that would be linked to a hotspot. Is there any alternate way in I might use to display it? It would really look good if when the user clicked on a hotspot, the text box would then display the related text.


Thanks in advance. I hope you can understand my description of the situation and will be able to help me. Thanks again.

Siriunson
11-24-2007, 02:33 PM
Hi RoddersPrime

In the Flash movie, put an action in the last frame with the following actionscript:

stop();
getURL("yourpage.htm", "_self");

The first line stops the movie from replaying before the new page loads, based on the code in line 2.

For point 2, look in the Dreamweaver help for disjointed rollovers, or even using the timeline. If you have a grasp of Flash you might find this a good option.

RoddersPrime
11-25-2007, 11:30 AM
Thanks a lot. It worked:) I am am still working on the Dreamweaver Display. Cheers mate.

KDLA
11-26-2007, 02:35 PM
2nd Problem On one page I have made an image with hotspots in the PGN format that also pops-up image and text. I have managed to import it from Fireworks onto an HTML page then onto my Dreamweaver page. My problem is in linking those hotspots to the text that goes with the whole image. I created A layer right next to the Hotspots Image where I put a Text box. Is it possible for that text box to display different sets of text when a certain hotspot is clicked? I thought I would just paste the whole text into a text scroll box with each Paragraph an anchor that would be linked to a hotspot. Is there any alternate way in I might use to display it? It would really look good if when the user clicked on a hotspot, the text box would then display the related text.
You need to look into javascript-driven tooltips.
I like this method http://boxover.swazz.org/
and/or this method: http://www.walterzorn.com/tooltip/tooltip_e.htm

Or, if you want to really dive into code, check these out: http://psacake.com/web/jl.asp

KDLA

RoddersPrime
12-03-2007, 02:41 PM
Something is actually wrong with the Flash video. The Get URL actions script is working great except that the script does its job and navigates to the next page before the video has played. I put a Stop action script in the last frame followed by the Get URL script but somehow the video isn't playing at all. Any scripts that I should add?

Siriunson
12-03-2007, 02:46 PM
Check that you have saved it in a version of the Flash player that is on your test machine, or added a detection script for the version. Also, make sure the path to the Flash file is correct.

dtm32236
12-03-2007, 03:05 PM
here's a different way to show and hide text...

http://blog.movalog.com/a/javascript-toggle-visibility/