html linking problem

Discussion in 'HTML & Website Design' started by msk19994, Feb 1, 2011.

  1. #1
    Hey Guys
    The thing is that when i add a add or any code of another company on my html page and that code has js folder then the code is not displayed correctly and my website url goes behind that code eg

    real code
    <script src="http://services.picadmedia.com/js/picad.js" type="text/javascript"></script><script type="text/javascript">picadService.initialize(); </script>

    showing on my site
    <script src="http://services.picadmedia.com/http://www.watchmoviesandshows.com/_layouts/js/picad.js" type="text/javascript"></script><script type="text/javascript">picadService.initialize(); </script>
     
    msk19994, Feb 1, 2011 IP
  2. CSM

    CSM Active Member

    Messages:
    1,047
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    55
    #2
    Which CMS is it?

    Looks like some PHP or any server-side code is adding those tags...
     
    CSM, Feb 1, 2011 IP
  3. msk19994

    msk19994 Well-Known Member

    Messages:
    1,030
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    160
    #3
    this was a custom made script no here are the two files in which i placed the code
     

    Attached Files:

    msk19994, Feb 1, 2011 IP
  4. sjewson

    sjewson Member

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #4
    The error above looks more like a path problem that the script is generating. Can you adjust the script to use absolute paths to see if that remedies the problem?
     
    sjewson, Feb 2, 2011 IP
  5. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #5
    When I look at your live site, I am not seeing what you described. The script is inserted correctly, but not sure what the script is supposed to be doing.

    One thing I noticed is that you have enough scripts running on your site to choke a horse. Just how many stat trackers do you need anyway? One. Google Analytics is all you need and you do not even have that.

    Also, you have every gawd awful type of ad network running on your site when just a few should do. Add in the fact that there are some scripts using jQuery, and they are getting queued before actually loading jQuery and you have a colossal cluster-frak of scripting going on.

    This is one of those occasions where I am going to suggest starting over from scratch. Then seriously consider researching scripts before aimlessly throwing them into your site.
     
    Dodger, Feb 2, 2011 IP
  6. msk19994

    msk19994 Well-Known Member

    Messages:
    1,030
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    160
    #6
    sir if i knew how to then i would actually do it my self so i have no idea what u are talking about
     
    msk19994, Feb 2, 2011 IP
  7. msk19994

    msk19994 Well-Known Member

    Messages:
    1,030
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    160
    #7
    ok i had changed the script now i have pasted the correct 1 with the error on my site and i have deleted 1 stat tracker and the google analytics code that was not working as i have the working 1 on the other type of page

    may i ask you what do u mean by awful type of ad network if u know any good that allows a site with copyright material then i would be glad to hear ,which scripts are u talking about that are altering the loading of jquery

    and if you are saying start from scratch mate what can i say on this script i have posted Dramas/Movies: 36/1482 manually and u want me to start from scratch come on mate if u are talking about design then i am with u on it the problem with me is that i dont know that much about programming if i want to fix any thing i just goto w3 school site and check what to do so if u can fix then thats really good

    I am attaching another file i wonder if this could be of any help
     

    Attached Files:

    msk19994, Feb 2, 2011 IP
  8. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Dude, it is simple. You have a ton of scripts running on your site. Sooner or later, one is going to conflict with another one. This is just the way things are.

    If you have a problem with one script not working, the time involved to debug it increases exponentially with every script you have running. And, judging by the scripts you have running now (just a precursory view of the source, mind you) it is a mess.

    Please break your sentence up into multiple coherent thoughts. And please act a little more respectful to people who are trying to help you out. Your tone is getting a little harsh. We are not here to help you out on your own whim.

    I can see that you changed something, but what you changed is unclear. CSM asked previously what type of Content Management System you were using, and you failed to answer him. This makes things more difficult when you cannot provide the necessary information in a readable manner.
     
    Dodger, Feb 2, 2011 IP
  9. Dodger

    Dodger Peon

    Messages:
    1,494
    Likes Received:
    60
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Actually dude. You are using a PicMedia in-image advertising script. Go to their forums and ask the question. I am done with you.

    I unsubscribed from this post, you are on your own.
     
    Dodger, Feb 2, 2011 IP
  10. msk19994

    msk19994 Well-Known Member

    Messages:
    1,030
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    160
    #10
    Sir
    The above sentence u provided was in no way rude or harsh of any type,
    And as u said CSM asked previously that what type of cms is this,The thing is that i have no idea which script this is,some one sold me this ready made script
    And sir i have googled PicMedia in-image advertising script i cant find any script i would be highly obliged if u could provide me the url to their forum
     
    msk19994, Feb 2, 2011 IP