Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 08-08-2004, 12:52 PM help : open window
jta
Junior Talker

Posts: 2
Trades: 0
i am not into php, but i like to change a script to open an new browser window instead of giving the results in the same window.

the new window could also get size (500x300px) and come without menu and all the other unneeded.

the script may also open a frame topping the page. this needs a probable vertical scrollbar and a close button

this must be the lines

__________________________________________________ _____________


echo ' <tr class="line_color'.($ii % 2).'" valign="top">'."\n"
.' <td align="center" valign="top" class="status">'.$status_txt.'&nbsp;</td>'."\n"
.' <td class="date"><nobr>'.$date_str."</nobr></td>\n"
.' <td class="event"><a href="'.$PHP_SELF."?Y=$cal_year&m=$cal_month&d=$ca l_day&do=show_event&key=".$red_data["event_key"]."&ox_tail&evt_date=".urlencode($date_str).'&evt_t itle='.urlencode($red_data["event_title"]).'">'.$red_data["event_title"]."</a></td>\n </tr>\n";
$ii++;



__________________________________________________ ________

if someone could help me ...

best regards
jta
jta is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-08-2004, 01:41 PM
webwoRRks's Avatar
Ultra Talker

Posts: 426
Location: I hope so
Trades: 0
You couldnt make the PHP do this for you, this would have to be executed server side. Try replacing the <a href=..... with an <a onclick=...., here is an example;

PHP Code:
<?php
echo "<a onclick='window.open(\"$PHP_SELF?Y=$cal_year&m=$cal_month&d=$cal_day&do=show_event&key=".$red_data["event_key"]."&ox_tail&evt_date=".urlencode($date_str)."&evt_title=".urlencode($red_data['event_title'])."\",\"\",\"width=500,height=500,status=no,toolbar=no\");'>";
?>
__________________
Theres 10 types of people; those who understand binary, and those who don't.
webmaster and webdeveloper resources,
Please login or register to view this content. Registration is FREE

Last edited by webwoRRks; 08-08-2004 at 01:45 PM.. Reason: typo (again)
webwoRRks is offline
Reply With Quote
View Public Profile Visit webwoRRks's homepage!
 
Old 08-08-2004, 03:15 PM thanks a lot
jta
Junior Talker

Posts: 2
Trades: 0
jta is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to help : open window
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.46982 seconds with 12 queries