cutiesweetie Posted March 28, 2008 Posted March 28, 2008 Hi, I would like to link this button to a new website page called "testimonial.htm". how do i do it in index.php? I tried to put this code, but it doesnt work.... how <a href="testimonial.htm"> please go to my website www.ywaste.net for more detail.
germ Posted March 29, 2008 Posted March 29, 2008 <a target="_blank" href="testimonial.htm"><img src="images/table_background_default.gif" border="0" alt="7 days money back guarantee if not genuine" title=" 7 days money back guarantee if not genuine " width="114" height="70"></a> This code makes it open in a new window. If it opens and replaces the current window, if the user is logged it they'll get logged out, and anyone will lose the cart contents if the current window is replaced. And if I were you, I'd ditch the "no right-click script". It doesn't stop anyone from copying anything (only those not intelligent enough to defeat or skirt it in the first place). It only serves to pi$$ people off and drive them away. :-" If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
cutiesweetie Posted March 29, 2008 Author Posted March 29, 2008 <a target="_blank" href="testimonial.htm"><img src="images/table_background_default.gif" border="0" alt="7 days money back guarantee if not genuine" title=" 7 days money back guarantee if not genuine " width="114" height="70"></a> This code makes it open in a new window. If it opens and replaces the current window, if the user is logged it they'll get logged out, and anyone will lose the cart contents if the current window is replaced. And if I were you, I'd ditch the "no right-click script". It doesn't stop anyone from copying anything (only those not intelligent enough to defeat or skirt it in the first place). It only serves to pi$$ people off and drive them away. :-" hi germ, may i know where should i edit the code?
Ausgirl Posted March 29, 2008 Posted March 29, 2008 And if I were you, I'd ditch the "no right-click script". It doesn't stop anyone from copying anything (only those not intelligent enough to defeat or skirt it in the first place). It only serves to pi$$ people off and drive them away. Aint that the truth! Theres nothing worst than not being able to right click on a website when you want to look at more than one thing. I click off! You'll also find it frustrating when you yourself work on your website & find you cant copy & paste unless you go round the long way. As germ said, content can be copied even with the "no right-click script" whether it be text or images. If you worried about your images, watermark them. As for your text content, theres not much you can do to stop someone copying that.
cutiesweetie Posted March 29, 2008 Author Posted March 29, 2008 Aint that the truth! Theres nothing worst than not being able to right click on a website when you want to look at more than one thing. I click off! You'll also find it frustrating when you yourself work on your website & find you cant copy & paste unless you go round the long way. As germ said, content can be copied even with the "no right-click script" whether it be text or images. If you worried about your images, watermark them. As for your text content, theres not much you can do to stop someone copying that. hi, may i know where should i edit the code?
Ausgirl Posted March 29, 2008 Posted March 29, 2008 Its code you've obviously added as oscommerce doesnt come with this installed, so you will have to delete the code you added if you do not wish to have the right click disabled.
germ Posted March 29, 2008 Posted March 29, 2008 I'm sorry. :blush: I thought you knew where to put the code. In your index.php file fin this code: <?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?> Replace that code with what I posted. But seriously, back in the "old days" when browsers were "single paged", maybe the "no right click" wasn't such a big deal. But now that most folks are using tabbed browsers, where if you LET them right-click, they can shop on several of your pages at the same time (more or less). It just makes sense to me if you want to sell things, let the customers see as many pages as they want, and make it as easy as possible! And the script doesn't stop those who know ways around it. Where do you think I got most of the HTML code I posted? From the source code of your page, where else!!! If I can defeat it, and I'm not the sharpest tool in the shed, just think of how many others can! If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
cutiesweetie Posted March 30, 2008 Author Posted March 30, 2008 I'm sorry. :blush: I thought you knew where to put the code. In your index.php file fin this code: <?php echo tep_image(DIR_WS_IMAGES . 'table_background_default.gif', HEADING_TITLE, HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?> Replace that code with what I posted. But seriously, back in the "old days" when browsers were "single paged", maybe the "no right click" wasn't such a big deal. But now that most folks are using tabbed browsers, where if you LET them right-click, they can shop on several of your pages at the same time (more or less). It just makes sense to me if you want to sell things, let the customers see as many pages as they want, and make it as easy as possible! And the script doesn't stop those who know ways around it. Where do you think I got most of the HTML code I posted? From the source code of your page, where else!!! If I can defeat it, and I'm not the sharpest tool in the shed, just think of how many others can! hi germ, thanks. I will seriously think about it.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.