rejetto forum
May 25, 2012, 07:27:34 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: This forum is free, you do NOT need to register to post. But you may.
PROBLEMS? QUESTIONS? CLICK HERE!
Fill the survey!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: how to make a new page to be redirected from the site  (Read 509 times)
0 Members and 1 Guest are viewing this topic.
DjNelutzu
Regular poster
**
Offline Offline

Romania Romania

Posts: 24


View Profile Email
« on: September 01, 2010, 01:29:43 PM »

how to make a new page to be redirected from the site,example admin panel but the page will open in a popup window


page that I want to create is for emoticons in shoutbox


please help
Logged
rejetto
Administrator
Insane programmer
*
Offline Offline

Italy Italy

Posts: 11831


View Profile
« Reply #1 on: September 02, 2010, 04:21:15 PM »

the easiest way is to add the "target" attribute to tag "a".
<a href='emoticons.html' target='emoticons'>see emoticons</a>
Logged
TSG
Operator
Insane poster
*****
Offline Offline

Australia Australia

Posts: 1919



View Profile WWW
« Reply #2 on: September 02, 2010, 11:17:13 PM »

This will make a popup window.

Code:
<a href="javascript:void(0);" onclick="window.open('LOCATION','NAME','width=640,height=480,left=100,top=100,scrollbars=1,resizable=1');">
   OPEN POP-UP WINDOW
</a>
« Last Edit: September 02, 2010, 11:19:51 PM by TSG » Logged

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!


Google visited last this page May 09, 2012, 11:54:52 PM