SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: External link

  1. #1
    SitePoint Guru mmarif4u's Avatar
    Join Date
    Dec 2006
    Location
    /dev/swat
    Posts
    619
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    External link

    hi,
    I know that this is not a complex issue ,i tried my best on it but no luck.

    I have a php pages where i want to put the js script as externaly.
    i have this code but not working.
    If i put the code directly in the head area then works but externaly linking is not working.

    Code:
    <head><title>&raquo; School Registration From</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <SCRIPT language="JavaScript" src="script.js" type="text/javascript"></SCRIPT>
    <script language="javascript" src="script.js"></script>
    <link rel="stylesheet" href="styles/style.css" type="text/css">
    </head>

  2. #2
    SitePoint Wizard Mike Borozdin's Avatar
    Join Date
    Oct 2002
    Location
    Edinburgh, UK
    Posts
    1,743
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sorry, I don't get you. What do you put in the code above? What is not working?

  3. #3
    SitePoint Guru mmarif4u's Avatar
    Join Date
    Dec 2006
    Location
    /dev/swat
    Posts
    619
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks man for reply,
    i got it solved. the problem was in the file which i include.
    there i mention the script tags i remove that one and now working fine.


Bookmarks

Posting Permissions

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