Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

noveltytrophies
Advanced Member

USA
121 Posts

Pre-sales questions only
(More Details...)

Posted - 12/21/2017 :  10:46:28  
the top of my site has this showing:
} //anylinkmenu.init("menu_anchors_class") //Pass in the CSS class of anchor links (that contain a sub menu) anylinkmenu.init("menuanchorclass")

How do I remove it

Becky Whipp

1818charlie
ECT Moderator

United Kingdom
1194 Posts

Posted - 12/21/2017 :  10:58:26  
Becky

The 5 include lines are showing before the opening head tag. I'm pretty sure they should be after the opening head tag and after the css reference lines too.

Also, the home page is left aligned but on clicking the baby trophy link http://www.noveltytrophies.com/proddetail.php?prod=262g the whole page then ends up centred and the text seen at the top of the screen } //anylinkmenu.init("menu_anchors_class") //Pass in the CSS class of anchor links (that contain a sub menu) anylinkmenu.init("menuanchorclass") is no longer visible

<php?
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php";?>

Steve

Bolton, Lancashire, United Kingdom.

Using ECT PHP versions since 2004

Edited by - 1818charlie on 12/21/2017 11:03:27

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 12/21/2017 :  11:22:15  
Hi Becky, theses lines need to be at the very top of the page like you have it now, this method works for sites using dynamic meta tags and page titles and SEO urls. These scripts have to be called first to the page.

<php?
session_cache_limiter('none');
session_start();
ob_start();
include "vsadmin/db_conn_open.php";
include "vsadmin/inc/languagefile.php";
include "vsadmin/includes.php";
include "vsadmin/inc/incfunctions.php";
include "vsadmin/inc/metainfo.php";?>

The problem is there is no opening script tag add the item in green below.

<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
<script>
//anylinkmenu.init("menu_anchors_class") //Pass in the CSS class of anchor links (that contain a sub menu)
anylinkmenu.init("menuanchorclass")
</script>

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000