Post by Selective555 » Sun Dec 21, 2014 9:08 am

I have this HTML code that I want to use on my OpenCart shop.

Code: Select all

///the text added to the back of this body string hides the location of links in the bottom browser window when cursor moves over them///

///onmouseover="window.status=''; return true"///
///goes into the body string as shown below///

<body bgcolor="#000000" link="#0000FF" vlink="#FF0000" text="#000000" onmouseover="window.status=''; return true">
So, how do I add this to my OpenCart shop?

Code: Select all

<body onmouseover="window.status=''; return true">

Active Member

Posts

Joined
Wed Nov 26, 2014 1:29 pm

Post by fido-x » Sun Dec 21, 2014 11:42 am

The opening "<body>" tag can be found in the header template file catalog/view/theme/default/template/common/header.tpl.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by Selective555 » Sun Dec 21, 2014 11:59 am

Thanks for helping me find the body tag.

For some reason though, it didn't work, or I don't think it did.

I tried this

Code: Select all

<body class="<?php echo $class; ?>" onmouseover="window.status=''; return true">
this

Code: Select all

<body onmouseover="window.status=''; return true" class="<?php echo $class; ?>">
and this

Code: Select all

<body onmouseover="window.status=''; return true">
None of those worked, so I guess I'll test it on some normal html page to make sure that script still works, then it's back to trying to figure out why it isn't working on OpenCart.

Active Member

Posts

Joined
Wed Nov 26, 2014 1:29 pm
Who is online

Users browsing this forum: paulfeakins and 9 guests