PDA

View Full Version : Help needed to insert HTML code



anjee
05-28-2009, 08:56 AM
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!

LadyEye
05-28-2009, 10:35 AM
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 ...

anjee
05-28-2009, 11:36 AM
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!

Watdaflip
05-28-2009, 08:42 PM
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.

anjee
05-29-2009, 09:36 AM
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=45'},
'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=45'},
'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=373235&lID=373240&apID=115090&curID=1'},
'Grand Hyatt Melbourne': {QL_Link: 'AccommodationProviderDetails.aspx?cID=405&rID=373313&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=04-Oct-2008&Duration=4&curID=1&WebID=45'}
}
}
</script>
</div>
</body>
</html>

Watdaflip
05-29-2009, 07:17 PM
Alright this code needs to be inserted between the <head></head> tags


<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


<div id="rfQS_Insert">
<script type="text/javascript" src="http://gadgets.roamfree.com/general-qs/js/1.1"></script (http://gadgets.roamfree.com/general-qs/js/1.1%22%3E%3C/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

anjee
05-30-2009, 01:33 AM
Ah ok thank you SOO much! that's awesome - your help has been great and very much appreciated! :)

PureThree
06-01-2009, 10:03 AM
This code will be a good help for my work I hope this will a good help.,I hope so.,




_________________
affordable SEO companies (http://www.xcesswebhosting.com/) | thatcom (http://thatcom.net/)