TinyPortal

Development => Support => Topic started by: White_Wolf on December 22, 2006, 08:39:57 PM

Title: image links on frontpage don't work right
Post by: White_Wolf on December 22, 2006, 08:39:57 PM
On the tinyportal frontpage I have two images. The first links to our IRC chatroom, and the second links to the forum.

I had everything working fine in Firefox, but Internet Explorer would not respond to the image links. I'd have to right click and choose from the menu "open link". Though it worked fine in Firefox, Mozilla, Netscape, and Opera.

The second problem I am having is that for the chatroom image link, I have the target set as target=_blank which opens the chatroom in a new window with Mozilla, Netscape, and Opera, but in Firefox it opens two new windows. So I've changed the target to "popup" for it to work properly in Firefox.

Well, I have been trying to figure this out to the point where I have everything screwed up now and I am on the verge of a nervous breakdown.

Here is the code for the two image links as it was before i totally screwed everything up, and only Explorer had a problem. Can anyone tell me what the problem might be?

Chatroom image link <div style="text-align: center;"><a href="javascript:void(window.open('http://xxxx.org/chat/index.php','','resizable=yes,location=yes,menubar=yes,scrollbars=yes,status=yes,toolbar=yes,fullscreen=yes,dependent=yes'))" dir="ltr"><input width="400" type="image" height="130" longdesc="undefined" alt="http://xxxx.org/chat/" src="/bbs/tp-images/Image/chatbutton.gif" /></a><br />

go to forum image link <a href="http://xxx.org/bbs/index.php?action=forum" target="_self" dir="ltr"><input width="400" type="image" height="130" alt="http://xxxx.org/bbs/index.php?" src="/bbs/tp-images/Image/forumbutton2.gif" /></a></div>
Title: Re: image links on frontpage don't work right
Post by: binkles on October 02, 2008, 01:47:43 PM
I know this thread is very old, but im having exactly the same issue.

SMF 1.1.6 ~ TinyPortal v0.9.8

Default theme - english NOT utf8
Title: Re: image links on frontpage don't work right
Post by: G6Cad on October 03, 2008, 10:09:28 AM
Please read the Posting Guidelines.html (http://www.tinyportal.net/index.php/topic,581)