|
|
I am trying to figure out how to make multiple clickable link popup windows on the same page.
Return to Recent Questions
Q:
I am trying to figure out how to make multiple clickable Link popup windows
on the same page. I want to have six or more. Here is what I have tried for
having two windows and could not get to work:
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<!-- DeluxePopupWindow.com -->
<noscript><a href="http://deluxepopupwindow.com">Javascript Popup Window
by DeluxePopupWindow.com</a></noscript>
<script type="text/javascript"
src="chase1.files/dpopupwindow.js"></script>
<script type="text/javascript"
src="chase2.files/dpopupwindow.js"></script>
<!-- (c) 2008, http://deluxepopupwindow.com -->
============================================================================
===============
<body>
<p><script type="text/javascript" src="chase1.js"></script>
<script type="text/javascript" src="chase2.js"></script> </p>
============================================================================
================
<a href="javascript:;" id="chase1">Click Here to see a chase sample</a>
<a href="javascript:;" id="chase2">Click Here</a>
This does not work. I had it somewhat working. Is there a better way to do
this? I will want to have at least 6 popup windows on the same page. I could
not find any samples on your website.
A:
You can do it in two ways:
1) Call different data files with DIFFERENT winID:"window1"!
2) Call only one data file and use deluxePopupWindow.open() function to open your windows:
<a href="javascript:;" onclick="deluxePopupWindow.open('window1', 'Content1 Content1', 'Window1',
'width=220,height=100,resizable,scrollbars=no,middle,right,fade-effect',
'windowsvista_graphite')">Click Here to see a chase1 sample</a>
See how to create popup windows:
http://deluxepopupwindow.com/window-installation-info.html
http://deluxepopupwindow.com/samples.html
Return to Recent Questions
Related:
- Oct 19, 2006 - I want a javascript toolbar with all the buttons the same length.
- Nov 07, 2006 - The menu appears perfectly in the css menu maker preview screen, but not on the page.
- Nov 20, 2006 - We need to have 2 javascript hover menu on one page.
- Nov 21, 2006 - How are this javascript scrolling menu compatible with Frontpage 2003?
- Nov 29, 2006 - I am still struggling with multiple menus js on one page.
- Dec 04, 2006 - With the licensed .js files of menu dhtml the status bar on IE shows "Error on page".
- Dec 05, 2006 - I can not createPopup windows by clicking on a menu.
- Dec 15, 2006 - I can't see floating menubar on my test page only direct links...
- Dec 16, 2006 - I would like to use these cool menus in a page containing two iFrames.
- Dec 25, 2006 - How do you created a multiple column for only one menu js item.
- Dec 26, 2006 - I'm trying to have two separate mouseover menus on my web page.
|