Quantcast
Channel: Free Virtual Servers
Viewing all articles
Browse latest Browse all 37

WYSIWYG Web Site Builder: How do I create a link with a popup win...

$
0
0

This FAQ relates to the downloadable Easy Internet WYSIWYG Web Builder available from http://www.easyinternetsolutions.co.uk/wsb

  1. Insert this popup script inside the <HEAD> tag of the page.
    Go to Menu->Page->Page HTML and select the 'Between HEAD tags' tab, then copy/paste this code:
    <script language="JavaScript" type="text/javascript"> <!-- function popupwnd(url, tool, menu, loc, scroll, resize, status, left, top, width, height) { OpenWin = this.open(url, "PopupWindow", "toolbar=" + tool + ",menubar=" + menu + ",location=" + loc + ",scrollbars=" + scroll + ",resizable=" + resize + ",status=" + status + ",left=" + left + ",top=" + top + ",width=" + width + ",height=" + height); } // --> </script>
    This function has the following parameters:
    url; Specifies the URL of the link
    tool; show or hide the toolbar ('yes' or 'no')
    menu; show or hide the menu ('yes' or 'no')
    loc; show or hide the addressbar ('yes' or 'no')
    resize; allow to resize the window ('yes' or 'no')
    scroll; show or hide scrollbars ('yes' or 'no')
    status; show or hide statusbar ('yes' or 'no')
    left; Specifies the X coordinate of the popup window
    top; Specifies the y coordinate of the popup window
    width; Specifies the width of the popup window
    height; Specifies the height of the popup window
  2. To create a popup link from an image link follow these steps
    1. Insert the image
    2. Select the image and select Menu->Insert->Link
    3. Enter this code in the URL field:
      javascript:popupwnd('http://www.example.com','yes','yes','yes','yes','yes','yes' ,'50','100','750','400')"; return true;
  3. To create a popup link from a text follow these steps
    1. Create a text link.
    2. Enter this code in the URL field:
      javascript:popupwnd('http://www.pablosoftwaresolutions.com','yes','yes','yes','yes','yes','yes' ,'50','100','750','400')"; return true;

Viewing all articles
Browse latest Browse all 37

Trending Articles