It is currently Sun Aug 18, 2019 7:38 am


All times are UTC


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: How to make a button/link open a new window
PostPosted: Sun Dec 11, 2005 9:40 pm 
NO! I'm not a flooder!
NO! I'm not a flooder!

Joined: Sun Jun 19, 2005 3:52 am
Posts: 106
Hello, I've installed this script that will allow me to upload images from my forum. Currently right now when you click the "upload image" button, it opens the upload page in the same window. Does anyone know how I can change this so that when you click the "upload image" button, it will open up in another window?

Here's the code

Thank you

Code:
<table class="forumline" border="0" cellpadding="3" cellspacing="1" width="100%">
  <tbody>
    <tr>
      <th class="thHead" colspan="2" height="25"><b>Image Upload</b></th>
    </tr>
    <tr>
      <td class="row1" width="22%"><span class="gen"><b>Upload an Image</b></span></td>
      <td class="row2" width="78%"><form enctype="multipart/form-data" method="post" name="form1" action="http://www.showpicsonline.com/photos/upload.php">
          <input name="attached" size="50" type="file">
          <br>
          <span class="style2">File extensions allowed: <b> gif</b>, <b>jpg</b>, <b>png </b><br>
File size limit: <b> 1024 KB</b> <br>
Image Hosting provided by</span> <a href="http://www.showpicsonline.com">Showpicsonline.com</a><br>         
          <input name="submit" value="Upload Image" type="submit">
      </form></td>
    </tr>
  </tbody>
</table>
<table width="100%" cellspacing="2" border="0" align="center">


  <tr>
   <td nowrap="nowrap" align="left">{NAVIGATION_BOX}</td>
  </tr>
</table>


Top
 Profile  
 
 Post subject: Re: How to make a button/link open a new window
PostPosted: Mon Dec 12, 2005 4:36 pm 
Posts like crazy!
Posts like crazy!

Joined: Mon Sep 26, 2005 5:03 pm
Posts: 204
Location: The Netherlands
Code:
<form enctype="multipart/form-data" method="post" name="form1" action="http://www.showpicsonline.com/photos/upload.php" target="_blank">


I think that would work.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 12, 2005 7:44 pm 
NO! I'm not a flooder!
NO! I'm not a flooder!

Joined: Sun Jun 19, 2005 3:52 am
Posts: 106
Thank you so much, it works :D :D


Top
 Profile  
 
 Post subject:
PostPosted: Tue Dec 13, 2005 5:13 pm 
I have no life!
I have no life!

Joined: Sun Feb 13, 2005 6:12 pm
Posts: 1504
Location: My Office
Greetings,

It is not hard to make hyperlinks open in windows. All you must do is just use the target attribute.

target="_blank" :: will open link in new window

target="_self" :: will open link in current window

:D

_________________
Best Regards:
Aaron McGowan (aka: CyberGeek, =cipher=)

CyberGeek's Software Solutions
-- WWW: http://www.cybergeeksoftware.com
-- Tech Line: 1-519-860-4557
-- Email: cybergeek@cybergeeksoftware.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ]  Moderators: fhmagic, KJ, Moderators, Support Team

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
100WebSpace © 2011