I am trying to find out how to generate and customize javascript pop window.
Return to Recent Questions
Q:
I purchased the full package for the application.
Great job!
I have no questions about generating and/or customizing DHTML menues -
it's pretty straight forwards.
I am trying to find out how to generate and customize POPUP WINDOWS.
A:
To assign popup windows for links on your page do the following:
1) Open your page (for example index.html page) in any text editor.
Add link in the place where you want to have it and specify the ID (for example: win1) for it, for example:
<a href="javascript:;" id="win1">Click Here to see a window</a>
Change parameters of windows in data files, for example popup-window-XP.js.
Open it in any text editor.
2) Add your content.
You can use HTML content, Iframe (url) or any object on your page as popup windows
content - Object ID.
For example select HTML content (winContent parameter in the 'Common' section), for example:
<div style="text-align:center;"><b>Sample content</b></div>
This is a simple HTML code for content. Here you may also set link to content page or ID of some element.
3) In the 'Actions' section specify the id of your link (win1) for the onClick event.
4) For example: open the popup-window-XP.html file in any text editor.
Copy all code for Popup window and paste it in the beginning of the <body> tag:
...
<body>
<!-- Deluxe Popup Window -->
<noscript><a href="http://deluxepopupwindow.com">menu drop down by DeluxePopupWindow.com
<script type="text/javascript" src="popup-window-XP.files/dpopupwindow.js"></script>
<script type="text/javascript" src="popup-window-XP.js"></script>
<!-- (c) 2009, DeluxePopupWindow.com -->
5) Copy 'popup-window-XP.files/' folder and popup-window-XP.js file into the same
folder with your index.html (root folder of your website).
Return to Recent Questions
Related:
- Sep 15, 2006 - Are vertical menus also supported? I don't see any in the javascript menu examples.
- Oct 06, 2006 - How can I use right-to-left languages in javascript popupmenu?
- Oct 12, 2006 - Can I create a scroll vertical menu on the right side and the subnav popout on the LEFT?
- Nov 10, 2006 - I want to set the status bar messages to another than the link text from the xp menu items?
- Nov 21, 2006 - Why the javascript submenu alignment changes depending on the browser window size?
- Nov 30, 2006 - I'm trying to simply use javascript to add some properties to my javascript menu sample.
- Dec 08, 2006 - Is it possible to customize the direction of javascript submenus...
- Dec 10, 2006 - On IE for Windows, the javascript floating window disappear as I roll over them
- Dec 14, 2006 - How to use a dhtml javascript menu item so that it opens a window at a certain size?
- Dec 17, 2006 - Some page visitors couldn’t see the javascript rollover menu.
- Jan 04, 2007 - Can you walk me through the development of a js drop down menu?
|