SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Feb 2012
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JavaScript and WordPress

    Hello,

    Why this is working: http://nascar.adrenalinex.co.uk/home...y/gallery.html

    and when I include this file in home.php it's broken? It's just HTML, JavaScript not working then at all
    http://nascar.adrenalinex.co.uk/home/

  2. #2
    Under Construction silver trophybronze trophy AussieJohn's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    776
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    It looks like everything on the home page is actually working fine.

    It won't work as a separate HTML file because (apart from the fact it's not a fully formed HTML page) the required JavaScript (and maybe CSS) isn't in that file.
    var details = {
    . . web: "afterlight.com.au",
    . . photos: "jvdl.id.au",
    . . psa: "usethelatestversion.com"
    }


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
  •