Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Adding JavaScript

    In the past I've added JavaScript pop up windows to html pages... but i'd like to be able to add a JavaScript pop up window to a PHP page.

    How would I go about doing it?

    In the past I have found the following website very useful for creating JavaScript pop ups... http://www.javascriptmall.com/jsc/jsPWinC.htm#popwin

    However, these scripts ask you to add code to the head section of your html page.... well, as we know PHP pages don't have a head section or a body... So how would I integrate a popup window like this into a PHP page that would be launched by a text link?

    I would like to add a link to a Javascript pop up window to one of the navigation links on the Information nav menu (information.php).

    Any help or advice would be very appreciated.

    Andy
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

  2. #2
    Join Date
    Dec 2008
    Posts
    82
    Plugin Contributions
    0

    Default Re: Adding JavaScript

    Can I assume that adding JavaScript to a php page is a bit harder than adding it to an html page??
    "You've seen the film, now get the doll. Handi Bendi Ghandi, complete with a wardrobe of robes and a cast of five thousand"

 

 

Similar Threads

  1. Adding Javascript -> Poshy Tooltip
    By Kerel in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 22 Nov 2011, 04:00 PM
  2. Adding JavaScript to Header_Sales_Text
    By Primvs in forum General Questions
    Replies: 2
    Last Post: 12 Nov 2009, 02:16 AM
  3. Adding javascript question
    By apotterdd in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Aug 2008, 06:31 AM
  4. Adding Javascript To Homepage
    By mpc4000trick in forum General Questions
    Replies: 2
    Last Post: 7 Jan 2008, 05:40 AM
  5. adding javascript to html
    By zackf in forum General Questions
    Replies: 0
    Last Post: 2 Jun 2007, 02:10 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg