Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 19, 2022, 05:27:15 AM

Login with username, password and session length
Members
  • Total Members: 3843
  • Latest: Tricky
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 54
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 1
Guests: 46
Total: 47

Author Topic: Wallpapers.com  (Read 12599 times)

0 Members and 1 Guest are viewing this topic.

clickbouyow

  • Guest
Wallpapers.com
« on: December 23, 2005, 04:39:40 PM »
I have this on my website, however the Java doesn't work.  Can someone take a look at it?

Code: [Select]
<div id="gw_wallpaperoftheday_pc"><a href="javascript:gwGetPreview_pc();"><img src="http://www.gamewallpapers.com/wallpaperoftheday/wallpaperoftheday_pc.jpg" width="120" height="90" border="0" onError="document.all.gw_wallpaperoftheday_pc.style.visibility='hidden';"></a><br></div>

<script>
function gwGetPreview_pc() { url = "http://www.gamewallpapers.com/wallpaperoftheday/getpreview.php?type=pc";
 ipwindow = window.open(url,"_blank","fullscreen=no,resizable=no,scrollbars=no,toolbar=no,height=316,width=400");
}
</script>

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: Wallpapers.com
« Reply #1 on: December 24, 2005, 02:50:54 PM »
Are you trying to use it in a block? It it not working at all? I put it in a block on my test site and it showed a thumbnail of something. What is it supposed to do that is not working for you?

crip

  • Guest
Re: Wallpapers.com
« Reply #2 on: December 24, 2005, 03:23:17 PM »
It works..it was A King Kong wallpaper in  various sizes...

clickbouyow

  • Guest
Re: Wallpapers.com
« Reply #3 on: December 24, 2005, 03:36:55 PM »
It is supposed to have a thumbnail.  If you click on it, a larger version of the image is shown.

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: Wallpapers.com
« Reply #4 on: December 24, 2005, 04:44:27 PM »
That's exactly what it does on my test site. Wanna take a look?

http://www.tmrules.com/beta/

clickbouyow

  • Guest
Re: Wallpapers.com
« Reply #5 on: December 24, 2005, 04:49:50 PM »
Hm.  I don't get that.  I just get "Error on Page"

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: Wallpapers.com
« Reply #6 on: December 24, 2005, 05:05:09 PM »
You choose html/javascript as your block type?

clickbouyow

  • Guest
Re: Wallpapers.com
« Reply #7 on: December 24, 2005, 05:26:40 PM »
Ah..I think I just chose HTML

frisp

  • Guest
Re: Wallpapers.com
« Reply #8 on: December 25, 2005, 08:09:09 AM »
You can center the image up in the block as well, using align inserted into the 1st bit of the code -

Code: [Select]
<div align="center" id="gw_wallpaperoftheday_pc">
Hope this helps.

babjusi

  • Guest
Re: Wallpapers.com
« Reply #9 on: May 15, 2007, 07:13:13 PM »
I just tried it out and it works perfectly