Expanded recipe page

Theme, template, layout, or image issues

Expanded recipe page

Postby Marcellus » Tue Feb 20, 2007 10:01 am

Is there a way to make the character recipe page default to opening in expanded view?

This may seem like an odd requst, but I use roster in an iframe that automaticaly resizes to fit each page as it's loaded so as to avoid having scroll bars within the iframe. Everything else works great, but when loading a character's recipe page, the iframe resizes to the non-expanded page size and makes viewing recipes difficult. Editing the iframe code to accomodate would require constant page refreshes and would be easily fixed by just having the page default to an expanded view.

The roster can be found here:
http://www.darkhandofchaos.com/modules.php?name=Roster

Any help would be appreciated. :)
Marcellus
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Tue Aug 15, 2006 2:12 am

Expanded recipe page

Postby zanix » Tue Feb 20, 2007 6:41 pm

The code is in lib/char.php I believe

Code: Select all
//
$returnstring .= border('sgray','start',$header)."\n<table width=\"100%\" style=\"display:none;\" class=\"bodyline\" cellspacing=\"0\" id=\"table_$rc\">\n"

Change display:none to display:inline
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Expanded recipe page

Postby Marcellus » Tue Feb 20, 2007 7:25 pm

Worked perfectly. Thank you Zanix.
Marcellus
WR.net Apprentice
WR.net Apprentice
 
Posts: 7
Joined: Tue Aug 15, 2006 2:12 am


Return to Appearance

Who is online

Users browsing this forum: No registered users and 0 guests

cron