Results 1 to 8 of 8

Thread: Help needed to insert HTML code
      
   

  1. #1
    anjee is offline Sergeant
    Join Date
    Apr 2009
    Location
    Gold Coast, Australia
    Posts
    20

    Question Help needed to insert HTML code

    Hi to all,

    I have some HTML code that I want to insert into my site and I'm stumped as to how to do it. I've tried going to HTML in page properties; added the code into the body section but nothing appeared on the page.

    I also tried to click on the HTML icon which brings up a box; I imported a HTML document from my computer but still nothing appeared on the page. can someone plse assist? I don't really know coding at all but am doing my best to troubleshoot!

    I have the correct code but obviously not the correct method of inserting properly.

    thanks in advance!

  2. #2
    LadyEye's Avatar
    LadyEye is offline General & Forum Moderator
    Join Date
    Jun 2006
    Location
    Canada
    Posts
    10,548

    Default Re: Help needed to insert HTML code

    choose tools, insert, advanced, html .. and then copy and paste the code into that box that appears on your page .. be sure to copy all the code .. you wont see anything until you choose preview, and when you choose preview, you will need to click to allow, (you will notice an organge bar on top of your screen) this you will only see in preview - when you publish everything will appear as it should be ...

    VodaHost

    Your Website People!
    1-302-283-3777 North America / International
    07031847328 / United Kingdom

    ------------------------

    Top 3 Best Sellers

    Web Hosting - Unlimited disk space & bandwidth.

    Reseller Hosting - Start your own web hosting business.

    Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)



  3. #3
    anjee is offline Sergeant
    Join Date
    Apr 2009
    Location
    Gold Coast, Australia
    Posts
    20

    Default Re: Help needed to insert HTML code

    Hi Lady Eye - great thank you that helped! and it worked but now I need to put it in the correct place on the page? how do I do that? do I just move that box where I want it to go? as I tried that and it didn't work.

    thank you!

  4. #4
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: Help needed to insert HTML code

    Generally yes, just put the box where you want the html to appear, but depending on the html code it could have its own positioning attributes. If you post the html you are trying to add I can let you know if there is anything within the html that is causing a problem.

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  5. #5
    anjee is offline Sergeant
    Join Date
    Apr 2009
    Location
    Gold Coast, Australia
    Posts
    20

    Default Re: Help needed to insert HTML code

    Hi Watdaflip, thank you! here is the code below - it's quite long so I hope it fits...

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html>
    <head>
    <title>simple document</title>
    <style type="text/css" id="skinning_skeleton">
    #rfQS_miniSearchContainer { }
    #rfQS_tabsContainer { }
    #rfQS_quickSearchBody { }
    #rfQS_srContTop { }
    #rfQS_bodyArea { }
    #rfQS_quickSearchForm { }
    #rfQS_quickSearchForm .where { }
    #rfQS_quickSearchForm .arrivalDate { }
    #rfQS_quickSearchForm .nights { }
    #rfQS_quickSearchForm .go { }
    #rfQS_quickLinks { }
    #rfQS_srContBot { }
    #rfQS_poweredByGas { }

    div.rfQS_QL_DD_Div { }
    div#rfQS_responseData { }
    </style>
    <style>
    #rfQS_miniSearchContainer {
    width:250px !important;
    background: #EEE !important;
    }
    #rfQS_tabsContainer {
    display:none !important;
    }

    #rfQS_quickSearchBody {

    }

    #rfQS_srContTop {
    display:none !important;
    }

    #rfQS_bodyArea {
    background: none !important;
    border: 1px solid #BBB !important;
    padding: 10px !important;
    }

    #rfQS_quickSearchForm {
    height:auto !important;
    }

    #rfQS_quickSearchForm .where {
    float:none !important;
    width: 99&#37; !important;
    }

    #rfQS_quickSearchForm .arrivalDate {
    clear:left !important;
    width: 60% !important;
    padding-right: 8% !important;
    }

    #rfQS_quickSearchForm .nights {
    width: 28% !important;
    }

    #rfQS_quickSearchForm .go {
    clear:left !important;
    }

    #rfQS_quickLinks {
    display: none !important;
    }

    #rfQS_srContBot {
    display:none !important;
    }

    #rfQS_poweredByGas {
    display:none !important;
    }

    #rfQS_responseData {
    width: 300px !important;
    </style>
    </head>
    <body>
    <div id="rfQS_Insert">
    <script type="text/javascript" src="http://gadgets.roamfree.com/general-qs/js/1.1"></script>
    <script type="text/javascript">
    var rfQS_AffiliateID = '23000'; // change affilate code for each site.
    var rfQS_WindowSetting = 'new'; // either 'new' or 'current'.
    var rfQS_SearchWidth = '500'; // 'auto', or set to a desired block width, min '420' recommended
    var rfQS_SearchAlign = 'centre'; // 'left', 'centre' or 'right'
    var rfQS_ShowQuickLinks = true; // either true or false.
    // Quicklinks use JSON to establish groups, labels, links and capitals (bolder)
    var rfQS_QuickLinks = {
    'QLD': {
    'Brisbane': {QL_Link: 'http://www.roomfree.com/Results.aspx?WebID=45&cID=405&rID=373254', Capital: true },
    'Gold Coast': {QL_Link: 'http://ww.roamfree.com/Results.aspx?cID=405&rID=373265'},
    'Noosa': {QL_Link: 'www.romefree.com/Results.aspx?cID=405&rID=373275&lID=373279&WebID=4 5'},
    'Sunshine Beach': {QL_Link: 'http://www.roamfree.com/travel/sunshine-beach-345605/12937/'},
    'Whitsundays': {QL_Link: 'Results.aspx?cID=405&rID=373283&WebID=45'}
    },
    'NSW': {
    'Launceston, TAS': {QL_Link: '/Results.aspx?cID=405&rID=373299&lID=373301&WebID=4 5'},
    'High Country, VIC': {QL_Link: '/Results.aspx?cID=405&rID=373363&WebID=45'},
    'Auckland, NZ': {QL_Link: '/Results.aspx?cID=3487&rID=374118&lID=345747&WebID= 45'},
    'Waikato, NZ': {QL_Link: '/Results.aspx?cID=3487&rID=374128&WebID=45'}
    },
    'We stay at': {
    'Quay Grand Suites Sydney': {QL_Link: 'AccommodationProviderDetails.aspx?cID=405&rID=373 235&lID=373240&apID=115090&curID=1'},
    'Grand Hyatt Melbourne': {QL_Link: 'AccommodationProviderDetails.aspx?cID=405&rID=373 313&lID=373317&apID=99254&curID=1'}
    },
    'Event Example': {
    'Indy Accommodation': {QL_Link: '/Results.aspx?cID=405&rID=373265&sDate=20-Oct-2008&Duration=4&curID=1&WebID=45'},
    'Bathurst 1000': {QL_Link: '/Results.aspx?cID=405&rID=373204&lID=345134&sDate=0 4-Oct-2008&Duration=4&curID=1&WebID=45'}
    }
    }
    </script>
    </div>
    </body>
    </html>

  6. #6
    Watdaflip's Avatar
    Watdaflip is offline Major General
    Join Date
    Sep 2005
    Location
    Cincinnati, Ohio
    Posts
    2,119

    Default Re: Help needed to insert HTML code

    Alright this code needs to be inserted between the <head></head> tags
    Code:
    <style type="text/css" id="skinning_skeleton">
     #rfQS_miniSearchContainer {  }
     #rfQS_tabsContainer {  }
     #rfQS_quickSearchBody {  }
      #rfQS_srContTop {  }
      #rfQS_bodyArea {  }
       #rfQS_quickSearchForm {  }
        #rfQS_quickSearchForm .where {  }
        #rfQS_quickSearchForm .arrivalDate {  }
        #rfQS_quickSearchForm .nights {  }
        #rfQS_quickSearchForm .go {  }
       #rfQS_quickLinks {  }
      #rfQS_srContBot {  }
      #rfQS_poweredByGas {  }
     
     div.rfQS_QL_DD_Div {  }
     div#rfQS_responseData {  } 
    </style>
    <style>
     #rfQS_miniSearchContainer {
     width:250px !important;
     background: #EEE !important;
     }
     #rfQS_tabsContainer {
      display:none !important; 
     }
     
     #rfQS_quickSearchBody {
     
     }
     
      #rfQS_srContTop {
       display:none !important;
      }
     
      #rfQS_bodyArea {
       background: none !important;
       border: 1px solid #BBB !important;
       padding: 10px !important;
      }
     
       #rfQS_quickSearchForm {
        height:auto !important;
       }
     
        #rfQS_quickSearchForm .where {
         float:none !important;
         width: 99&#37; !important;
        }
     
        #rfQS_quickSearchForm .arrivalDate {
         clear:left !important;
         width: 60% !important;
         padding-right: 8% !important;
        }
     
        #rfQS_quickSearchForm .nights {
         width: 28% !important;
        }
     
        #rfQS_quickSearchForm .go {
         clear:left !important;
        }
     
       #rfQS_quickLinks {
         display: none !important;
       }
     
      #rfQS_srContBot {
       display:none !important;
      }
     
      #rfQS_poweredByGas {
       display:none !important;
      }
     
    #rfQS_responseData {
     width: 300px !important;
    </style>
    And this can be just added to a html box and placed wherever you like
    Code:
    <div id="rfQS_Insert">   
        <script type="text/javascript" src="http://gadgets.roamfree.com/general-qs/js/1.1"></script>   
        <script type="text/javascript">   
            var rfQS_AffiliateID    = '23000';  // change affilate code for each site.   
            var rfQS_WindowSetting  = 'new';    // either 'new' or 'current'.   
            var rfQS_SearchWidth    = '500';    // 'auto', or set to a desired block width, min '420' recommended   
            var rfQS_SearchAlign    = 'centre'; // 'left', 'centre' or 'right'   
            var rfQS_ShowQuickLinks = true;     // either true or false.   
            // Quicklinks use JSON to establish groups, labels, links and capitals (bolder)   
            var rfQS_QuickLinks = {   
                'QLD': {   
    'Brisbane': {QL_Link: 'http://www.roomfree.com/Results.aspx?WebID=45&cID=405&rID=373254', Capital: true }, 
                    'Gold Coast': {QL_Link: 'http://ww.roamfree.com/Results.aspx?cID=405&rID=373265'},   
                    'Noosa': {QL_Link: 'www.romefree.com/Results.aspx?cID=405&rID=373275&lID=373279&WebID=4  5'},   
                    'Sunshine Beach': {QL_Link: 'http://www.roamfree.com/travel/sunshine-beach-345605/12937/'},   
                    'Whitsundays': {QL_Link: 'Results.aspx?cID=405&rID=373283&WebID=45'}   
                },   
                'NSW': {   
                    'Launceston, TAS': {QL_Link: '/Results.aspx?cID=405&rID=373299&lID=373301&WebID=4  5'},   
                    'High Country, VIC': {QL_Link: '/Results.aspx?cID=405&rID=373363&WebID=45'},   
                    'Auckland, NZ': {QL_Link: '/Results.aspx?cID=3487&rID=374118&lID=345747&WebID=  45'},   
                    'Waikato, NZ': {QL_Link: '/Results.aspx?cID=3487&rID=374128&WebID=45'}   
                },   
                'We stay at': {   
    'Quay Grand Suites Sydney': {QL_Link: 'AccommodationProviderDetails.aspx?cID=405&rID=373 235&lID=373240&apID=115090&curID=1'}, 
    'Grand Hyatt Melbourne': {QL_Link: 'AccommodationProviderDetails.aspx?cID=405&rID=373 313&lID=373317&apID=99254&curID=1'} 
                },   
                'Event Example': {   
    'Indy Accommodation': {QL_Link: '/Results.aspx?cID=405&rID=373265&sDate=20-Oct-2008&Duration=4&curID=1&WebID=45'}, 
    'Bathurst 1000': {QL_Link: '/Results.aspx?cID=405&rID=373204&lID=345134&sDate=0 4-Oct-2008&Duration=4&curID=1&WebID=45'} 
                }   
            }   
        </script>   
    </div>
    The rest of the code that isn't included in the above isn't needed

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

  7. #7
    anjee is offline Sergeant
    Join Date
    Apr 2009
    Location
    Gold Coast, Australia
    Posts
    20

    Default Re: Help needed to insert HTML code

    Ah ok thank you SOO much! that's awesome - your help has been great and very much appreciated! :)

  8. #8
    PureThree is offline Private
    Join Date
    Jun 2009
    Posts
    1

    Default Re: Help needed to insert HTML code

    This code will be a good help for my work I hope this will a good help.,I hope so.,




    _________________
    affordable SEO companies | thatcom

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49