Page 1 of 1
Link in New window
Posted: Fri Mar 09, 2007 10:00 am
by PeteS
/*************************************
Title: Guestbook
Version: 1.5
Author:
Demo:
Download:
Website:
Short description: Links to open in new window
*************************************/
Upgraded from 1.43 to 1.5 - is it possible to make any links on the board open in a new window as they used to? (Mainly the ones at the very bottom leading to PHPJunkyard website). They've been coded in gbook.php so can't add a target="_blank" or similar code to any of them...
Posted: Fri May 04, 2007 3:10 am
by Rhialto
Now that i start configuring to adapt it to my website look, I also found the link to PHPJunkYard irritating since it does not open in new window.
Now it is hardcoded and I understand that for the no alteration reason but now can we expect a simple fix anytime soon or with next release only? Because I know next release is really far with latest author reply I got in another thread.
Posted: Fri May 04, 2007 8:08 am
by Klemen
The reason for this is that XHTML valid code doesn't allow target="_blank". I'll add some Javascript in the future, but for now you can use:
http://www.phpjunkyard.com/extras/gbook ... window.zip
Posted: Fri May 04, 2007 11:34 am
by Rhialto
Thanks a lot. I just needed the printDownHTML() function.
btw, I don't know if I should discuss it here or start another thread but do you know why when only I get to bottom of page, I get a horizontal scrollbar? Like if it was 105% width. I'm displaying it in a frame.
Whatever the size of the window, I get the same result.
Posted: Fri May 04, 2007 11:41 am
by Klemen
There could be a number of problems, I suggest you start a new thread in the appropriate forum (not in the "add-ons" forum). If you don't get the horizontal bar with the ORIGINAL files (non-edited) then the problem could be your customization.
Posted: Sat May 05, 2007 11:30 am
by PeteS
Thank you very much. That updated GBOOK.PHP works an absolute treat - as I say, thank you very much.
Big Ole Bike Bash...