Well Can I Display Ads With A Plain Img Tag?

Status
Not open for further replies.

maddude

overall phsyco
Messages
256
Reaction score
0
Points
0
i posted earlier this question i know but it never displayed on the forum at all but i searched and its definatly here hope fully this will appear on the first page as te newest like it should do if you find my other simmular post jst delete it :) so can we use <img> tag and the url of the banner instead of the messy javascript?
 

CheetahShrk

New Member
Messages
204
Reaction score
0
Points
0
The only problem with the javascript is it makes xhtml, html and all other types of html invalid according to the W3C validator seeing as how all javascript tags must be in the head.
 

maddude

overall phsyco
Messages
256
Reaction score
0
Points
0
:pinch: im nit gonna do that just asking if it was possible i'll just use the php include rofl.info thing
 

Chris

New Member
Messages
1,538
Reaction score
0
Points
0
Origin said:
Still outputs the same thing

That's not the point. The point of the script is so that if we want to change the ad image/banner, we can easily do it. You don't have to modify the code, only we have to modify the image, so it will update automatically instead of you having to change your code.
 

CheetahShrk

New Member
Messages
204
Reaction score
0
Points
0
Chris said:
That's not the point. The point of the script is so that if we want to change the ad image/banner, we can easily do it. You don't have to modify the code, only we have to modify the image, so it will update automatically instead of you having to change your code.

It's also possible to use php, img src to a php file, and the php files uses quite simple commands to randomize a image and then change itself to a image.
 
Status
Not open for further replies.
Top