Html help

Discussion in 'HTML & Website Design' started by msk19994, Aug 31, 2010.

  1. #1
    Guys
    I am placing infolinks code on my site in ftp like

    <script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script>

    and it comes in my source like

    <script type="text/javascript" src="http://resources.infolinks.com/http://www.watchmoviesandshows.com/_layouts/js/infolinks_main.js"></script>

    i dont know why
    http://www.watchmoviesandshows.com/_layouts/
    comes there i think becuase there is a also a js folder on my site
    http://www.watchmoviesandshows.com/_layouts/js
    thats why
    or is there some problem in .httacces please help me guys
     
    msk19994, Aug 31, 2010 IP
  2. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #2
    Dunno your .htaccess

    When I clicked on http://www.watchmoviesandshows.com/_layouts/ I got a nice listing of files.

    If I were you I would fix that ASAP.

    
    Index of /_layouts
    
     Name                    Last modified      Size  Description
     Parent Directory                             -   
     _editor/                25-Jun-2010 01:03    -   
     about.html              25-Jun-2010 00:46  264   
     admin_add_category.html 25-Jun-2010 00:46  2.1K  
     admin_add_news.html     25-Jun-2010 00:46  2.0K  
     admin_add_title.html    25-Jun-2010 00:46  4.5K  
     admin_add_trailer.html  25-Jun-2010 00:46  2.4K  
     admin_add_user.html     25-Jun-2010 00:46  7.9K  
     admin_add_vault.html    25-Jun-2010 00:46  3.5K  
     admin_add_video.html    25-Jun-2010 00:46  2.7K  
    ............
    ............
    ............
    
    Code (markup):
    EDITED:

    I just added

    
    <script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script> 
    
    Code (markup):
    to http://xhtml-valid-websites.com/index.html and everything seems to be ok in the source.
     
    CSM, Aug 31, 2010 IP
  3. msk19994

    msk19994 Well-Known Member

    Messages:
    1,030
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    160
    #3
    i dont get u sir
    and i have placed the code in

    site_index.html
    site_index_front.html
     
    msk19994, Aug 31, 2010 IP
  4. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #4
    In site_index.html :

    
    <script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script>
    
    Code (markup):
    Is correct, no?
     
    CSM, Aug 31, 2010 IP
  5. msk19994

    msk19994 Well-Known Member

    Messages:
    1,030
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    160
    #5
    yes its correct but i dont know why it shows my sites url in source i dont get it ?
     
    msk19994, Aug 31, 2010 IP
  6. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #6
    Paste the source code where you inserted the correct line please.
     
    CSM, Aug 31, 2010 IP
  7. msk19994

    msk19994 Well-Known Member

    Messages:
    1,030
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    160
    #7
    the code of infolinks is at the bottom
     
    msk19994, Aug 31, 2010 IP
  8. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #8
    Ok, can you download the js file and serve it locally? Look if the error still exist then

    Oh, and try using jQuery 1.4.2 ... 1.2.6 is pretty old ;)

    If then something is wrong you can change to 1.2.6 again
     
    CSM, Aug 31, 2010 IP
  9. msk19994

    msk19994 Well-Known Member

    Messages:
    1,030
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    160
    #9
    i just replaced the jQuery i didnt change its name ie files name but changed the coding in it

    and i made a file with same name in my js folder and linked it but now the url is showing fine but still code is not showing i will mail their support team again for the problem and thanx for ur help
     
    msk19994, Aug 31, 2010 IP