Please Help Me With This Code

Empire007

Power Member
Joined
Jul 22, 2012
Messages
519
Reaction score
85
okay, am having a lil trouble using this code. The code works fine but i need a lil help to make it work best for me. Here is the code

<style>
iframe{
opacity: 0;
border: 0px none transparent;
position: absolute;
top: 0px;
left: 0px;
height: 300px;
width: 250px;
filter:alpha(opacity=0);
}
img{
position: absolute;
top: -50px;
left: 0px;
height: 475px;
width: 342px;
}
</style>
</head>
<body>
<div>
<img src="http : //YOURDOMAINN. com/YOURIMAGE.gif"/>
SCRIPT GOES HERE
<center>your t5ext here.<br>some text here
toooooooooooooooooo !!!
</div>
</body>


Okay, here is my problem with this code. its suppose to make the image i want cover a transparent javascript which could be an ad. e.g. adsense

If this is the image that will cover the javascript http : //YOURDOMAINN. com/YOURIMAGE.gif
and this is the javascript here ------> SCRIPT GOES HERE

how can i make that its only that image (http : //YOURDOMAINN. com/YOURIMAGE.gif) that is used on top the script, because when i wish to add another image, it simply goes on top the image eg.

this image http : //YOURDOMAINN. com/YOURIMAGE.gif is on The javascript i put in (SCRIPT GOES HERE)

if i want to add another image, it just comes on top of this http : //YOURDOMAINN. com/YOURIMAGE.gif

i am kinda confused there. i just want to be able to put the image on the javascript and also add more images on the html website. thanks. will be waiting for help
 
Try adding
Code:
z-index: 100;
To the image you want to be on top.
 
I don't want the image to be in the same position. I just want one image to be there. while I can place another image anywhere without it shifting to where the image + script is supposed to be.
 
can anyone please help me
 
Well you styled the img tag completely so each image you add is going to use the same css. YOu need to make a specific class like this

HTML:
<style>
iframe{
opacity: 0;
border: 0px none transparent;
position: absolute;
top: 0px;
left: 0px;
height: 300px;
width: 250px;
filter:alpha(opacity=0);
}
.something{
position: absolute;
top: -50px;
left: 0px;
height: 475px;
width: 342px;
}
img {


}
</style>
</head>
<body>
<div>
<img class="something" src="http : //YOURDOMAINN. com/YOURIMAGE.gif"/>
SCRIPT GOES HERE
<center>your t5ext here.<br>some text here
toooooooooooooooooo !!!
</div>
</body>
 
thanks, alot it now works. thank you so much. :D now back to work.
 
is there a way that, i can make this image do two things at the same time. i know that


<img class="something" src="http : //YOURDOMAINN. com/YOURIMAGE.gif"/> will make the user click the javascript, but is there a way that it will open another tab, like a pop up and redirect to another link again.
 
is there a way that, i can make this image do two things at the same time. i know that


<img class="something" src="http : //YOURDOMAINN. com/YOURIMAGE.gif"/> will make the user click the javascript, but is there a way that it will open another tab, like a pop up and redirect to another link again.

maybe adding to the code sth like: target=_blank ??

So code would be:

Code:
<a href="YOURLINKHERE.com" target=_blank><img class="something src="YOURIMAGEURL.png"></a>
 
Yes, but put the target='_blank' in paranetheses and youll be good to go =)
 
This is a poor man's version of a clickjack script and it WILL get you banned if you indend to use this with adsense.. No matter how good your cloaker is.
 
Back
Top