Forum Moderators: open

Message Too Old, No Replies

Windows that popup when user clicks:Dreamweaver. What's Best way?

What is the best method for creating popup windows when clicked Dreamweaver

         

wrreisen

10:23 am on Dec 10, 2003 (gmt 0)

10+ Year Member



Hi,

What is the best way to acheiving windows that popup when the user clicks on a link. That is fairly easy in Dreamweaver and perhaps doesn't put loads of script at the top of your page.

I have recently switched from Golive to Dreamweaver.

In Golive you could create windows that popped up when you clicked by using the Golive user interface that created a load of code that did this for you.

This was okay before a became a SEO. Now I worry about having lots of scripting at the top of the page before the content because of spidering.

Can Search Engine Spiders follow these kind of links?

At the moment I'm using Golive and Dreamweaver templates together its a pain to keep things working.

stever

10:38 am on Dec 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Highlight the link, go to the Behaviours Panel, click the + button and choose Open New Browser Window. That will give you a lot of options (such as size, scrollbars yes/no).

You'll be able to see how much code there is - never affected a page as far as I can see.

Search engines don't show pages only linked to via these links (whether they spider them is another debate...).

limbo

10:49 am on Dec 10, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Do you specifcally want a Popup or to open link in new window?

You can select the link and pick the _blank attribute from the target menu.

Ta

Limbo

jetboy_70

11:52 am on Dec 10, 2003 (gmt 0)

10+ Year Member



Once you've finished your design it's prefectly acceptable to move all of the Dreamweaver generated functions to an external .js file to share between your pages.

If you alter a behaviour after doing this Dreamweaver tends to replace the code in your <HEAD> section, so best to wait until you're all done.

wrreisen

11:53 am on Dec 10, 2003 (gmt 0)

10+ Year Member



Thanks,

Got it working.

jetboy_70

12:07 pm on Dec 10, 2003 (gmt 0)

10+ Year Member



[response to edited post]