I saw that too Jake but that CSS is not visible in the code I have. I think that it gets added in server side through the JQuery somehow, I have searched through the files that came with it, but it isn't obvious to me what is causing it.
Below is the code I have.
The bits that are from the JQuery I downloaded are:
Lines: 96 - 105 (in the head)
and
Lines: 120-218 (in the body)
- <!-- #INCLUDE FILE="functions.asp" -->
- <%
- productID = TRIM( "443" )
- Set Con = Server.CreateObject( "ADODB.Connection" )
- Con.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source=" & Server.MapPath("********") &";"
- sqlstring = "SELECT * From Products "
- sqlstring = sqlstring & "WHERE product_id=" & productID
- Set RS = Server.CreateObject( "ADODB.Recordset" )
- RS.ActiveConnection = Con
- RS.Open sqlString
-
- cat = RS( "product_category" )
-
- p1 = RS ( "paragraph1" )
- if p1 <> "" then
- p1 = Replace(p1, ">", "=NULL,")
- end if
-
- p2 = RS ( "paragraph2" )
- if p2 <> "" then
- p2 = Replace(p2, ">", "=NULL,")
- end if
-
- p3 = RS ( "paragraph3" )
- if p3 <> "" then
- p3 = Replace(p3, ">", "=NULL,")
- end if
-
- p4 = RS ( "paragraph4" )
- if p4 <> "" then
- p4 = Replace(p4, ">", "=NULL,")
- end if
-
- p5 = RS ( "paragraph5" )
- if p5 <> "" then
- p5 = Replace(p5, ">", "=NULL,")
- end if
-
- p6 = RS ( "paragraph6" )
- if p6 <> "" then
- p6 = Replace(p6, ">", "=NULL,")
- end if
- %>
- <!DOCTYPE html>
- <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
- <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
- <!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
- <!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
- <head>
- <META http-equiv="Content-type" content="text/html; charset=iso-8859-1">
- <title>Flexible Pipe Connectors & Expansion Joints - Mason UK Ltd</title>
- <meta name="description" content="<%=RS( "product_briefdesc" )%>. Mason UK Ltd" />
-
<meta name="keywords" content="<%=RS( "product_name" )%> Mason
UK Ltd <%=RS( "product_briefdesc" )%>, <%=RS(
"product_category" )%>" />
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="css/normalize.min.css">
- <link rel="stylesheet" href="css/main8.css">
- <link href="css/navstyle.css" rel="stylesheet" type="text/css">
- <script src="js/vendor/modernizr-2.6.2-respond-1.1.0.min.js"></script>
- <script type="text/javascript" src="tinybox.js"></script>
- <link rel="shortcut icon" type="image/x-icon" href="images/favicon.ico">
-
<script type="text/javascript"
src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-25736117-1']);
- _gaq.push(['_trackPageview']);
-
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-
ga.src = ('https:' == document.location.protocol ?
'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
-
- <script type="text/javascript">
- window.___gcfg = {lang: 'en-GB'};
-
- (function() {
- var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
- po.src = 'https://apis.google.com/js/plusone.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
- })();
- </script>
-
- <script type="text/javascript" src="http://www.glb12pkgr.com/js/68433.js" ></script>
- <noscript><img src="http://www.glb12pkgr.com/68433.png" style="display:none;" /></noscript>
-
- <script language="javascript" type="text/javascript">
- <!--
- function popitup(url) {
- newwindow=window.open(url,'name','height=400,width=350,scrollbars=yes');
- if (window.focus) {newwindow.focus()}
- return false;
- }
- // -->
- </script>
- <script src="https://code.jquery.com/jquery-1.12.4.js"></script>
- <script src="jquery-ui.js"></script>
- <script>
- $( function() {
- $( "#accordion" ).accordion({
- collapsible: true
- });
- } );
- </script>
- <link href="jquery-ui.css" rel="stylesheet">
-
- </head>
- <body>
- <!--[if lt IE 7]>
-
<p class="chromeframe">You are using an
<strong>outdated</strong> browser. Please <a
href="http://browsehappy.com/">upgrade your browser</a> or
<a
href="http://www.google.com/chromeframe/?redirect=true">activate
Google Chrome Frame</a> to improve your experience.</p>
- <![endif]-->
- <%topnav%>
-
- <%producthead%>
-
-
<a href="addcart.asp?pid=<%= RS( "product_id" )%>"
onClick="return popitup('addcart.asp?pid=<%= RS( "product_id"
)%>')">View Variations & Enquiry Basket</a>
-
- <%productbody%>
-
- <div id="accordion">
- <h3>View Products & Enquiry Basket</h3>
- <div style="height: 100%;">
- <table><tr>
-
<td align="center" colspan="2"><h5><font color="black"
face="arial">Description<br><br><br></font></h5></td>
-
<td align="right"><h5><font color="black"
face="arial">Price<br><br><br></font></h5></td>
-
<td align="center"><h5><font color="black"
face="arial">Quantity<br><br><br></font></h5></td></tr>
- <form method="post" action="enquirybasket.asp">
- <h3>Specific Product Types</h3> <%
- cartcat = RS ( "product_name" )
-
CartSQLStr = "SELECT * FROM Cart WHERE cart_status=1 AND cart_category
LIKE '%"& CartCat &"%' ORDER BY cart_name DESC;"
- DrawAllCarts(CartSQLStr)
- %>
- <tr><td><input name="SQLtxt" type="hidden" value="<%=CartSQLStr%>"></td></tr>
- <tr><td></td><td><font color="black" face="arial" size="1">
-
To add items to your basket simply enter the quantities desired next to
the products and click on the 'Add to Basket' button</font>
-
</td><td></td><td align="center"><input
type="image" name="submit" src="images/add.gif" WIDTH="135"
HEIGHT="28"></td></tr>
- </form>
- </table>
- </div>
- <h3>Request Engineer Call Back</h3>
- <div>
- <h4>Call Back Enquiry Form</h4>
- <form method="post" action="thanx.asp">
-
- <%
- if err = 0 then
- %>
-
- <label>
-
<span class="accordionspan">Name *</span><input
id="name" type="text" name="name" value="<%%>"/>
- </label><br><br>
-
- <label>
-
<span class="accordionspan">Surname *</span><input
id="name" type="text" name="lastname" value="<%%>"/>
- </label><br><br>
-
- <label>
-
<span class="accordionspan">Company</span><input
id="name" type="text" name="company" value="<%%>"/>
- </label><br><br>
- <label>
-
<span class="accordionspan">Email *</span><input
id="email" type="text" name="email" value="<%%>" />
- </label><br><br>
- <label>
-
<span class="accordionspan">Telephone *</span><input
id="subject" type="text" name="Tel" value="<%%>" />
- </label><br><br>
- <label>
-
<span class="accordionspan">Product</span><input
id="subject" type="text" name="Product" value="<%=RS( "product_name"
)%>" />
- </label><br><br>
- <label>
-
<span class="accordionspan">Message *</span><textarea
id="feedback" name="ad1"
value="<%%>"></textarea><br><br>
- <input width="100" type="submit" value="+ Submit" name="Submit" class="searchbutton">
- </label>
-
-
-
- <%
- else
- %>
-
- <label>
-
<span class="accordionspan">Name *</span><input
id="name" type="text" name="name"
value="<%=Request.Form("name")%>"/>
- </label><br><br>
- <label>
-
<span class="accordionspan">Surname *</span><input
id="name" type="text" name="lastname"
value="<%=Request.Form("lastname")%>"/>
- </label> <br> <br>
- <label>
-
<span class="accordionspan">Company</span><input
id="name" type="text" name="company"
value="<%=Request.Form("company")%>"/>
- </label><br><br>
- <label>
-
<span class="accordionspan">Email *</span><input
id="email" type="text" name="email"
value="<%=Request.Form("email")%>" />
- </label><br><br>
- <label>
-
<span class="accordionspan">Telephone *</span><input
id="subject" type="text" name="Tel"
value="<%=Request.Form("Tel")%>" />
- </label><br><br>
- <label>
-
<span class="accordionspan">Enquiry About *</span><input
id="subject" type="text" name="Product"
value="<%=Request.Form("Product")%>" />
- </label><br><br>
- <label>
-
<span class="accordionspan">Message *</span><textarea
id="feedback" name="ad1"
value="<%=Request.Form("ad1")%>"></textarea><br><br>
- <input width="100" type="submit" value="+ Submit" name="Submit" class="searchbutton">
- </label>
- <%
- end if
- %>
-
- </form>
- </div>
-
- <h4>Related Products</h4>
- <div class="topbit"> <%
- CurrentProdCat = RS( "product_category")
- CurrentProdID = RS( "product_id")
-
sqlString = "SELECT product_id, product_name, product_category,
product_category2, product_date, pdf1, pdf2, pdf3, pdf4, pdf_desc1,
pdf_desc2, pdf_desc3, pdf_desc4, CAD1, CAD2, CAD3, CAD4, cadDesc1,
cadDesc2, cadDesc3, cadDesc4, main_pic, product_briefdesc, main_pic_desc
FROM Products WHERE product_status = 1 AND product_category LIKE
'%"& CurrentProdCat &"%' OR product_category2 LIKE '%"&
CurrentProdCat &"%' AND (Not product_id = " & CurrentProdID
& ") ORDER BY product_date DESC;"
- DrawAllProducts(sqlString)
- %>
-
- </div>
- </div><div class="textspan"><p> </p></div>
-
-
-
- </article>
-
-
- <div class="sidebar">
-
- <%
- CurrentProdID = RS( "product_id")
-
RelProjectsSQLStr= "SELECT * FROM projects WHERE project_status=1
AND (projects.related_product1="& CurrentProdID &" OR
projects.related_product2="& CurrentProdID &" OR
projects.related_product3="& CurrentProdID &" OR
projects.related_product4="& CurrentProdID &" OR
projects.related_product5="& CurrentProdID &" OR
projects.related_product6="& CurrentProdID &" OR
projects.related_product7="& CurrentProdID &" OR
projects.related_product8="& CurrentProdID &" OR
projects.related_product9="& CurrentProdID &" OR
projects.related_product10="& CurrentProdID &") ORDER BY
projects.project_date DESC;"
- DrawPDFandImLinks(RS)
- socialmedia
- DrawAllRelatedProducts(RelProjectsSQLStr)
- %>
- </div>
- </div> <!-- #main -->
- </div> <!-- #main-container -->
-
- <%footer%>