Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pop ups? How to create

Status
Not open for further replies.

Scoobyworld

Technical User
Mar 24, 2002
22
GB
Hi

Any ideas how I can go about creating a simple pop up window displaying special offers on our home page at I'm using DW3 / notepad

many thanks

Neil
 
put this in your head

<script language=&quot;JavaScript&quot; type=&quot;text/JavaScript&quot;>
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>

then for ou links use this
<a href=&quot;javascript:;&quot; onclick=&quot;MM_openBrWindow('URL','name','toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes')&quot;>click here for pop up</a>

you can adjust all the settings too so if you dont want resize or scrollbars etc. [rockband]
whos that behind you?
 
Or using dw as it is intended highlight some text/image and click on behaviours>Open browser window and define your settings eg window size/scroll bars/address bars etc.

Cheech The secret of life is honesty and fair dealing. If you can fake that, you've got it made.
Groucho Marx (1895-1977)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top