Where shall I put this code?
jinda55 Apr 9, 2012 8:29 AMHaving problems adding the following code:
<script src="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/includes/jquery-1.4.2.js" type="text/javascript"></script>
<script src="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/includes/jquery.ui.core.min.js" type="text/javascript"></script>
<script src="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/includes/jquery.ui.widget.min.js" type="text/javascript"></script>
<script src="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/includes/jquery.ui.tabs.min.js" type="text/javascript"></script>
<link href="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/css/jquery.ui.core.css" rel="stylesheet" type="text/css" />
<link href="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/css/jquery.ui.tabs.css" rel="stylesheet" type="text/css" />
<link href="file:///C|/Users/All/AppData/Roaming/Adobe/Dreamweaver CS5.5/en_US/Configuration/Temp/Assets/eam1162.tmp/jQuery/css/jquery.ui.theme.css" rel="stylesheet" type="text/css" />
<style type="text/css">
/* BeginOAWidget_Instance_2140022: #jQueryTabs */
#jQueryTabs.ui-tabs .ui-tabs-panel {
display: block;
border: 0px solid #aaaaaa;
padding: 1ex 1.4em;
background: #003366;
font-family: inherit;
font-size: 0.8em/*{fsDefault}*/;
}
/* Component containers
----------------------------------*/
#jQueryTabs .ui-widget {
}
#jQueryTabs .ui-widget-content {
border: 1px solid #aaaaaa/*{borderColorContent}*/;
background: #ffffff/*{bgColorContent}*/ url()/*{bgImgUrlContent}*/ 50%/*{bgContentXPos}*/ 50%/*{bgContentYPos}*/ repeat-x/*{bgContentRepeat}*/;
color: #ffffff/*{fcContent}*/;
}
#jQueryTabs .ui-widget-content a {
color: #0000ff/*{fcContent}*/;
}
#jQueryTabs .ui-widget-header {
border: 1px solid #aaaaaa/*{borderColorHeader}*/;
background: #000066/*{bgColorHeader}*/ url()/*{bgImgUrlHeader}*/ 50%/*{bgHeaderXPos}*/ 50%/*{bgHeaderYPos}*/ repeat-x/*{bgHeaderRepeat}*/;
color: #222222/*{fcHeader}*/;
font-weight: bold;
font-family: Verdana, Geneva, sans-serif;
font-size: 0.8em/*{fsDefault}*/;
}
/* Interaction states
----------------------------------*/
#jQueryTabs .ui-state-default, .ui-widget-content .ui-state-default {
border: 1px solid #ffffff/*{borderColorDefault}*/;
background: #003366/*{bgColorDefault}*/ url()/*{bgImgUrlDefault}*/ 50%/*{bgDefaultXPos}*/ 50%/*{bgDefaultYPos}*/ repeat-x/*{bgDefaultRepeat}*/;
font-weight: normal/*{fwDefault}*/;
color: #555555 /*{fcDefault}*/;
}
#jQueryTabs .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
color: #ffffff/*{fcDefault}*/;
text-decoration: none;
}
#jQueryTabs .ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus {
border: 1px solid #999999/*{borderColorHover}*/;
background: #ff9900/*{bgColorHover}*/ url()/*{bgImgUrlHover}*/ 50%/*{bgHoverXPos}*/ 50%/*{bgHoverYPos}*/ repeat-x/*{bgHoverRepeat}*/;
font-weight: normal/*{fwDefault}*/;
color: #212121 /*{fcHover} #212121*/;
font-family: inherit;
font-size: inherit/*{fsHover}*/;
}
#jQueryTabs .ui-state-hover a, .ui-state-hover a:hover {
color: #212121/*{fcHover}*/;
text-decoration: none;
}
#jQueryTabs .ui-state-active, .ui-widget-content .ui-state-active {
border: 1px solid #aaaaaa/*{borderColorActive}*/;
background: #ff6600/*{bgColorActive}*/ url()/*{bgImgUrlActive}*/ 50%/*{bgActiveXPos}*/ 50%/*{bgActiveYPos}*/ repeat-x/*{bgActiveRepeat}*/;
font-weight: normal/*{fwDefault}*/;
color: #212121/*{fcActive}*/;
font-family: inherit;
font-size: inherit/*{fsSelected}*/;
}
#jQueryTabs .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
color: #212121/*{fcActive}*/;
text-decoration: none;
}
/* EndOAWidget_Instance_2140022 */
</style>
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="2140022" binding="#jQueryTabs" />
</oa:widgets>
-->
</script>
</head>
<body>
<script type="text/javascript">
// BeginOAWidget_Instance_2140022: #jQueryTabs
$(function() {
$("#jQueryTabs").tabs({
event:"click",
collapsible: false,
selected:'0',
fx: { opacity: 'none', duration: 1 }
}).tabs( "none" , 1 , false );
});
// EndOAWidget_Instance_2140022
</script>
<div id="jQueryTabs">
<ul>
<li><a href="#tabs-1">Nunc tincidunt</a></li>
<li><a href="#tabs-2">Proin dolor</a></li>
<li><a href="#tabs-3">Aenean lacinia</a></li>
</ul>
<div id="tabs-1">
<p>Proin elit arcu, rutrum commodo, vehicula tempus, commodo a, risus. Curabitur nec arcu. Donec sollicitudin mi sit amet mauris. Nam elementum quam ullamcorper ante. Etiam aliquet massa et lorem. Mauris dapibus lacus auctor risus. Aenean tempor ullamcorper leo. Vivamus sed magna quis ligula eleifend adipiscing. Duis orci. Aliquam sodales tortor vitae ipsum. Aliquam nulla. Duis aliquam molestie erat. Ut et mauris vel pede varius sollicitudin. Sed ut dolor nec orci tincidunt interdum. Phasellus ipsum. Nunc tristique tempus lectus.</p>
</div>
<div id="tabs-2">
<p>Morbi tincidunt, dui sit amet facilisis feugiat, odio metus gravida ante, ut pharetra massa metus id nunc. Duis scelerisque molestie turpis. Sed fringilla, massa eget luctus malesuada, metus eros molestie lectus, ut tempus eros massa ut dolor. Aenean aliquet fringilla sem. Suspendisse sed ligula in ligula suscipit aliquam. Praesent in eros vestibulum mi adipiscing adipiscing. Morbi facilisis. Curabitur ornare consequat nunc. Aenean vel metus. Ut posuere viverra nulla. Aliquam erat volutpat. Pellentesque convallis. Maecenas feugiat, tellus pellentesque pretium posuere, felis lorem euismod felis, eu ornare leo nisi vel felis. Mauris consectetur tortor et purus.</p>
</div>
<div id="tabs-3">
<p>Mauris eleifend est et turpis. Duis id erat. Suspendisse potenti. Aliquam vulputate, pede vel vehicula accumsan, mi neque rutrum erat, eu congue orci lorem eget lorem. Vestibulum non ante. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce sodales. Quisque eu urna vel enim commodo pellentesque. Praesent eu risus hendrerit ligula tempus pretium. Curabitur lorem enim, pretium nec, feugiat nec, luctus a, lacus.</p>
<p>Duis cursus. Maecenas ligula eros, blandit nec, pharetra at, semper at, magna. Nullam ac lacus. Nulla facilisi. Praesent viverra justo vitae neque. Praesent blandit adipiscing velit. Suspendisse potenti. Donec mattis, pede vel pharetra blandit, magna ligula faucibus eros, id euismod lacus dolor eget odio. Nam scelerisque. Donec non libero sed nulla mattis commodo. Ut sagittis. Donec nisi lectus, feugiat porttitor, tempor ac, tempor vitae, pede. Aenean vehicula velit eu tellus interdum rutrum. Maecenas commodo. Pellentesque nec elit. Fusce in lacus. Vivamus a libero vitae lectus hendrerit hendrerit.</p>
</div>
</div>
</body>
</html>
I am trying to add it to the index.html page (where it says nbsp...)
<p>nbsp;</p></td> (add an "&" symbol before nbsp and CTRL + F to find it in the below code)
Code for index.html is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/Template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta name="generator" content="HTML Tidy for Linux (vers 6 November 2007), see www.w3.org" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- InstanceEndEditable -->
<style type="text/css">
/*<![CDATA[*/
.style1 {
font-family: Verdana, Geneva, sans-serif;
font-size: 10px;
color: #000;
background-color: #e3e3e3;
margin: 0px;
padding: 0px;
}
body,td,th {
font-size: 11px;
}
/*]]>*/
</style>
<!-- InstanceBeginEditable name="head" -->
<style type="text/css">
#apDiv1 {
position:absolute;
width:200px;
height:115px;
z-index:1;
left: 1048px;
top: 376px;
}
#apDiv2 {
position:absolute;
width:272px;
height:115px;
z-index:2;
left: 764px;
top: 456px;
}
body,td,th {
color: #F00;
}
body {
background-repeat: repeat-x;
}
</style>
<link href="Spry-UI-1.7/css/ContentSlideShow/wanderlust/wanderlust-brown.css" rel="stylesheet" type="text/css" />
<script src="Spry-UI-1.7/includes/SpryDOMUtils.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryDOMEffects.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryWidget.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryPanelSelector.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryPanelSet.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryFadingPanels.js" type="text/javascript"></script>
<script src="Spry-UI-1.7/includes/SpryContentSlideShow.js" type="text/javascript"></script>
<script src="SpryAssets/SpryData.js" type="text/javascript"></script>
<script src="SpryAssets/xpath.js" type="text/javascript"></script>
<script type="text/xml">
<!--
<oa:widgets>
<oa:widget wid="141" binding="#ImageSlideShow" />
<oa:widget wid="2141541" binding="#ImageSlideShow_2" />
<oa:widget wid="2141541" binding="#ImageSlideShow_3" />
<oa:widget wid="2141541" binding="#ImageSlideShow_4" />
<oa:widget wid="2567023" binding="#OAWidget" />
</oa:widgets>
-->
</script>
<link href="SpryAssets/SpryStackedContainers.css" rel="stylesheet" type="text/css" />
<!-- InstanceEndEditable -->
<script src="Scripts/swfobject_modified.js" type="text/javascript">
</script>
<script src="includes/jquery-1.4.2.js" type="text/javascript">
</script>
<script src="jQuery/js/jquery.jsocial.js" type="text/javascript">
</script>
<link href="jQuery/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/xml">
<![CDATA[
<!--
<oa:widgets>
<oa:widget wid="2149023" binding="#social" />
</oa:widgets>
-->
]]>
</script>
<style type="text/css">
/*<![CDATA[*/
body.c9 {background-color:#e3e3e3}
table.c8 {background-color: #E3E3E3}
p.c7 {color: #c3c3c3; font-size: 14px; text-align: center}
p.c6 {text-align: center}
table.c5 {background-color: #FFFFFF}
table.c4 {background-color:#FFFFFF}
table.c3 {font-size: 14px}
tr.c2 {background-image:url(images/img02.jpg)}
div.c1 {text-align: center}
/*]]>*/
</style>
</head>
<body class="c9">
<table width="740" align="center">
<tr>
<td width="740">
<div class="c1"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="709" height="202"><param name="movie" value="images/banner.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="images/banner.swf" width="709" height="202"><!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
</div>
<!--[if !IE]>--></object> <!--<![endif]--></object></div>
</td>
</tr>
</table>
<table class="c3" width="950" align="center" cellpadding="0" cellspacing="0">
<tr class="c2" align="center">
<td width="100"><a href="index.html">Home</a></td>
<td width="100"><a href="About%20Us.html">About Us</a></td>
<td width="100"><a href="Flights%20and%20Timetables.html">Flights & Timetables</a></td>
<td width="100"><a href="Manage%20My%20Bookings.html">Manage My Booking</a></td>
<td width="100"><a href="Hotels.html">Hotels</a></td>
<td width="100"><a href="FAQs.html">FAQs</a></td>
<td width="100"><a href="Careers.html">Careers</a></td>
<td width="100"><a href="Contact%20Us.html">Contact Us</a></td>
</tr>
</table>
<table align="center" width="950" class="c4" cellpadding="0" cellspacing="0">
<tr>
<td>
<table align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="950" height="500" align="left" valign="top"><!-- InstanceBeginEditable name="Content" -->
<table width="178" border="5" align="left">
<tr>
<td height="23" colspan="3" align="left" valign="top" nowrap="nowrap" bgcolor="#FF6600"><h3>Create a Trip </h3></td>
</tr>
<tr>
<td width="160" height="686" colspan="3" align="left" valign="top" bgcolor="#003366"><h3>
<input type="radio" name="radio" id="radio" value="radio" />
Flights<br />
<input type="radio" name="radio" id="radio2" value="radio" />
Hotels </h3>
<h3>Country of Departure
<label for="select"></label>
<br />
<select name="select" id="select">
<option>United Kingdom</option>
<option>Spain</option>
</select>
</h3>
<h3>From<br />
<label for="select2"></label>
<select name="select2" id="select2">
<option>London</option>
<option>Nottingham</option>
<option>Birmingham</option>
</select>
</h3>
<h3>To<br />
<label for="textfield"></label>
<input type="text" name="textfield" id="textfield" />
</h3>
<h3>Depart<br />
<input name="DD/MM/YY" type="text" id="DD/MM/YY" value="DDMMYY" maxlength="6" />
<label for="checkbox"></label>
One Way Only
<input type="checkbox" name="checkbox" id="checkbox" />
<br />
<br />
Return<br />
<input name="DD/MM/YY2" type="text" id="DD/MM/YY2" value="DDMMYY" maxlength="6" />
My dates are fixed
<input type="checkbox" name="checkbox2" id="checkbox2" />
</h3>
<h3>Flight Class<br />
<select name="select3" size="1" id="select3">
<option>Economy</option>
</select>
</h3>
<h3>Ticket Type<br />
<input type="radio" name="radio3" id="radio3" value="radio3" />
<label for="radio3"></label>
Lowest Price<br />
<input type="radio" name="radio3" id="radio4" value="radio3" />
Flexible Conditions </h3>
<h3>Adults<br />
<select name="select4" size="1" id="select4">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
<br />
<br />
Children <br />
<select name="select5" size="1" id="select5">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
</h3>
<h3 align="left">Infants<br />
<select name="select6" size="1" id="select6">
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>
</select>
<br /></h3>
<div align="right">
<input type="submit" name="Get Flights" id="GetFlights" value="Get Flights"/>
</div></td>
</tr>
</table>
<table width="539" border="0" align="left" cellpadding="1" cellspacing="1">
<tr valign="top">
<td colspan="3" align="center" valign="top"><div id="ImageSlideShow">
<div class="article">
<div class="photo">
<div class="caption">
<div id="ImageSlideShow_2">
<div class="article">
<div class="photo">
<div id="ImageSlideShow_3">
<div class="article">
<div class="photo">
<script type="text/javascript">
</script>
<div id="ImageSlideShow_4">
<div class="article">
<div class="photo"> <img src="images/hpimg1.jpg" alt="" width="300" height="300"/>
<div class="caption">San Francisco, CA</div>
</div>
<div class="story">
<div class="banner">
<div class="title">Palace of Fine Arts</div>
<div class="subTitle">Flowers of Spring, California</div>
</div>
<div class="content">
<p>The Palace of Fine Arts was initially built for the Pan-Pacific Exposition in the 1930s, heralding San Francisco's rebirth after the 1906 earthquake.</p>
<button type="button"><span><span><span>Click for Details</span></span></span></button>
</div>
</div>
</div>
<div class="article">
<div class="photo"> <img src="images/hpimg2.jpg" alt="" width="300" height="300"/>
<div class="caption">Horses</div>
</div>
<div class="story">
<div class="banner">
<div class="title">Marin County, California</div>
<div class="subTitle">Bay Area's Best Secret</div>
</div>
<div class="content">
<p>A few short miles from downtown San Francisco, horses roam in the fields of Marin County, California.</p>
<button type="button"><span><span><span>More Info</span></span></span></button>
</div>
</div>
</div>
<div class="article">
<div class="photo"> <img src="images/hpimg3.jpg" alt="" width="300" height="300"/>
<div class="caption">Open Space</div>
</div>
<div class="story">
<div class="banner">
<div class="title">Marin County</div>
<div class="subTitle">Parkland</div>
</div>
<div class="content">
<p>Marin County is blessed with acres of open spaces, both public and private. </p>
<button type="button"><span><span><span>Get Packing!</span></span></span></button>
</div>
</div>
</div>
<div class="article">
<div class="photo"> <img src="images/hpimg4.jpg" alt="" width="300" height="300" />
<div class="caption">Orchids</div>
</div>
<div class="story">
<div class="banner">
<div class="title">Flower Garden</div>
<div class="subTitle">Flora tour in Golden Gate Park</div>
</div>
<div class="content">
<p>Orchids from all over the world can be seen in the Arboretum in Golden Gate Park.</p>
<button type="button"><span><span><span>Find out More!</span></span></span></button>
</div>
</div>
</div>
</div>
<script type="text/javascript">
// BeginOAWidget_Instance_2141541: #ImageSlideShow_4
var ImageSlideShow_4 = new Spry.Widget.ContentSlideShow("#ImageSlideShow_4", {
widgetClass: "WLBSlideShow",
displayInterval: 4000,
transitionDuration: 2000
});
// EndOAWidget_Instance_2141541
</script>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></td>
</tr>
<tr valign="top">
<td colspan="3" align="center" valign="top" bgcolor="#000033">Discover the latest offers</td>
</tr>
<tr valign="top">
<td align="center" valign="top" bgcolor="#CC9900"><img src="images/hpimg6.jpg" width="150" height="150" vspace="0" border="1" /></td>
<td align="center" valign="top" bgcolor="#0000FF"><img src="images/hpimg7.jpg" alt="" width="150" height="150" vspace="0" border="1" /></td>
<td align="center" valign="top" bgcolor="#666666"><img src="images/hpimg8.jpg" alt="" width="150" height="150" vspace="0" border="1" /></td>
</tr>
<tr valign="top">
<td width="200" align="center" valign="top" bgcolor="#CC9900">Last Minute Offers</td>
<td width="200" align="center" valign="top" bgcolor="#0000FF">Luxury Holidays</td>
<td width="200" align="center" valign="top" bgcolor="#666666">Most Popular Holidays</td>
</tr>
<tr valign="top">
<td colspan="3" bgcolor="#FFFFFF">
<p> </p></td>
</tr>
</table>
<table width="178" border="1" align="right">
<tr>
<td width="160" height="686" colspan="3" align="left" valign="top" bgcolor="#FFFFFF">news feed
<script type="text/javascript">
</script></td>
</tr>
</table>
<!-- InstanceEndEditable --></td>
</tr>
</table>
</td>
</tr>
</table>
<table class="c5" align="center" width="950">
<tr>
<td></td>
</tr>
</table>
<table class="c8" align="center" width="950">
<tr>
<td>
<p class="c6"><strong><a href="index.html">Home</a> | <a href="Terms%20and%20Conditions.html">General Terms & Conditions</a> | <a href="FAQs.html">FAQs</a> | Contact Us | Site Map. This website is only for my college work, none of the content is accruate</strong><strong><br /></strong></p>
<div class="social"></div>
<script type="text/javascript">
//<![CDATA[
// BeginOAWidget_Instance_2149023: #social
$('.social').jsocial({
facebook : 'facebook.com/myID',
twitter : 'myID',
center : true,
inline : true,
small : true,
newPage : false
});
// EndOAWidget_Instance_2149023
//]]>
</script>
<p class="c6"><strong><br /></strong></p>
<p class="c7"> </p>
</td>
</tr>
</table>
<script type="text/javascript">
//<![CDATA[
swfobject.registerObject("FlashID");
//]]>
</script>
</body>
<!-- InstanceEnd --></html>
