Clickbank has this code on their site for disguising hoplinks, I tried it putting my ids in and it severely screws with the design so I know I'm doing it wrong. I don't normally use code and stick to the WYSIWYG design aspect of Dreamweaver 8 which I use as it is more straightforward. I'm trying to put a link say in the middle of a paragraph, one phrase and acts as a link mid sentence. Like I said, when I put in the code it screws the looks up. I don't know hardly anything about html design so what's the problem? Can I just not cloak a link right in the middle of a paragraph or what's the deal? I'm racking my brain with this one so if anyone can explain to me how to implement the code I pasted below without screwing up the design I'd appreciate it. Also, I cannot use php with my settings, so before anyone suggests that know that I cannot. Thanks! <html> <head> <title>Loading page...</title> <meta http-equiv="refresh" content="2;URL=http://AFFILIATE.PUBLISHER.hop.clickbank.net"> <script> url='http://AFFILIATE.PUBLISHER.hop.clickbank.net'; if(document.images) { top.location.replace(url); } else { top.location.href=url; } </script> </head> <body>Loading <a href=http://AFFILIATE.PUBLISHER.hop.clickbank.net>page</a>... </body> </html>
First - what the **** is a 'hoplink'? Second, using javascript in this manner is a total and miserable /FAIL/ in terms of accessability and web design in general. People who do this crap should be shot. Third - " I don't normally use code and stick to the WYSIWYG design aspect of Dreamweaver 8" - STOP. 99.99% chance any site you make that way is already made of /FAIL/
Gosh it almost looks like a framed site without the frames... That code isn't even valid. The word "loading" sitting loose is just loose CDATA and then the <a> is an inline element... neither of which can be a direct child of the <body>... If you just want a normal link inside a paragraph, it's done as so: <p>We often see crap for code. That is not the problem. The world has always been filled with <a href="http://en.wikipedia.org/wiki/crap">crap</a>. But sometime the crap is so bad, it needs to be put out of its misery. It burns the eyes. It fouls the stomach. It makes old <a href="http://www.allaboutdogs.com">dogs</a> howl and whine. Fortunately, there is a solution. If we could only bring <a href="http://www.adobe.com/dreambeaver">edjumacation</a> to the third world, and show them how to live a <a href="www.microsoft.com">better life...</a></p> Code (markup): You said "cloak" once. If you mean hide links from humans so teh googles break by seeing it, making everyone trying to search for something pull their hair out in frustration because instead of getting those Thai food recipes they want, the just keep getting affiliate bullshit and viagra bullshit and Get Rich Quick bullshit, they will stop using teh Googles because they will be broken. Don't break mah tools, or we come to your mountain laboratory with our pitchforks and torches. Kill the monster! Kill him!!