Custom Buttons? Not working [1291]

Posts from previous Beta sessions

Custom Buttons? Not working [1291]

Postby DaarianneDarkmoon » Sat Sep 01, 2007 6:34 pm

It doesn't work...

Whatever I enter, I cannot create any costum buttons... There is no error or anything. Just nothing happens.
User avatar
DaarianneDarkmoon
WR.net Apprentice
WR.net Apprentice
 
Posts: 48
Joined: Wed Jul 12, 2006 12:34 am

Custom Buttons? Not working [1291]

Postby PleegWat » Sat Sep 01, 2007 8:22 pm

There's a mysql error, which causes it to die, which causes it to spit out the full graphical error page instead of the ajax framework one.

I'm on it.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Custom Buttons? Not working [1291]

Postby DaarianneDarkmoon » Mon Sep 03, 2007 4:15 pm

Ok, they work, sowmewhat ;)

The link works, buttons are shown. Graphics is not... So you can add a button-graphic, but it won't show...

Another thing that you might consider is to add the option of "parent window", "self" or "new".
My roster is inside my normal page. if i would set a link to my starting page, i would end up in a page in a page... if you know what i mean. since a lot of people will eventually build the roster into their site, there should be options on how the link behaves... wether its inside the current frame, or a new page, or even a new window opens up...
User avatar
DaarianneDarkmoon
WR.net Apprentice
WR.net Apprentice
 
Posts: 48
Joined: Wed Jul 12, 2006 12:34 am

Custom Buttons? Not working [1291]

Postby PleegWat » Tue Sep 04, 2007 1:43 am

I'll think about it, but probably not. It's quite a bunch of extra code, and it probably requires a DB modification.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Re: Custom Buttons? Not working [1291]

Postby Adric » Tue Sep 04, 2007 1:49 am

2 things...
1. the target attribute is depreciated if i remember correctly. It still works, but has been outdated...
2. Frames... where do i begin... frames are just evil... ill leave it at that.
User avatar
Adric
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 61
Joined: Wed Jul 05, 2006 7:52 am

Custom Buttons? Not working [1291]

Postby Subxero » Tue Sep 04, 2007 6:18 am

Because buttons sometimes gets 1 line .. sometimes 2 lines and others 3 lines? and occurs on any page/scope
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Custom Buttons? Not working [1291]

Postby PleegWat » Tue Sep 04, 2007 6:44 pm

Subxero, I'm not following that.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Custom Buttons? Not working [1291]

Postby Subxero » Tue Sep 04, 2007 10:07 pm

A image more than thousand words.. :)

Image

And the source seem equal!

menu 1
Code: Select all
<div style="" class="menu_utility" id="menu_util">
               <div align="right">Utilities Panel</div>
               <ul>
                                 <li onmouseover="return overlib(overlib_83,CAPTION,'Roster CP',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_gear_02.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=rostercp"></a></li>
                                 <li onmouseover="return overlib(overlib_84,CAPTION,'Credits',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_egg_05.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=credits"></a></li>

                                 <li onmouseover="return overlib(overlib_85,CAPTION,'Search',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_spyglass_02.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=search"></a></li>
                              </ul>
            </div>
                        <div class="menu_scope" id="menu_realm" style="display: none;">
               <div align="left">Realm Panel</div>
               <ul>
                                 <li onmouseover="return overlib(overlib_86,CAPTION,'Quest List',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/spell_holy_surgeoflight.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-questlist"></a></li>
                                 <li onmouseover="return overlib(overlib_87,CAPTION,'Key BC',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_key_01.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-Key_BC"></a></li>

                                 <li onmouseover="return overlib(overlib_88,CAPTION,'Members',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/spell_holy_crusade.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-memberslist"></a></li>
                                 <li onmouseover="return overlib(overlib_89,CAPTION,'Guilds',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/spell_nature_natureguardian.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-memberslist-guild"></a></li>
                                 <li onmouseover="return overlib(overlib_90,CAPTION,'Gems',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_jewelcrafting_nightseye_03.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-GemsDisplay"></a></li>
                              </ul>
            </div>
                        <div class="menu_scope" id="menu_guild">
               <div align="left">Guild Panel</div>
               <ul>
                                 <li onmouseover="return overlib(overlib_91,CAPTION,'Members',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/spell_holy_prayerofspirit.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-memberslist"></a></li>

                                 <li onmouseover="return overlib(overlib_92,CAPTION,'Member Log',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_symbolofkings_01.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-memberslist-log"></a></li>
                                 <li onmouseover="return overlib(overlib_93,CAPTION,'Professions',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/trade_blacksmithing.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-professions"></a></li>
                                 <li onmouseover="return overlib(overlib_94,CAPTION,'Stats',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_book_09.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-memberslist-statslist"></a></li>
                                 <li onmouseover="return overlib(overlib_95,CAPTION,'GuildBank',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_bag_15.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-guildbank"></a></li>
                                 <li onmouseover="return overlib(overlib_96,CAPTION,'Instance Keys',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_key_06.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-keys"></a></li>
                                 <li onmouseover="return overlib(overlib_97,CAPTION,'Key BC',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_key_01.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-Key_BC"></a></li>
                                 <li onmouseover="return overlib(overlib_98,CAPTION,'Made By',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_gizmo_02.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-madeby"></a></li>
                              </ul>
            </div>

                     </div>


Menu 2
Code: Select all
<div class="menu_utility" id="menu_util">
               <div align="right">Utilities Panel</div>
               <ul>
                                 <li onmouseover="return overlib(overlib_83,CAPTION,'Roster CP',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_gear_02.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=rostercp"></a></li>
                                 <li onmouseover="return overlib(overlib_84,CAPTION,'Credits',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_egg_05.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=credits"></a></li>

                                 <li onmouseover="return overlib(overlib_85,CAPTION,'Search',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_spyglass_02.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=search"></a></li>
                              </ul>
            </div>
                        <div class="menu_scope" id="menu_realm" style="display: none;">
               <div align="left">Realm Panel</div>
               <ul>
                                 <li onmouseover="return overlib(overlib_86,CAPTION,'Quest List',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/spell_holy_surgeoflight.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-questlist"></a></li>
                                 <li onmouseover="return overlib(overlib_87,CAPTION,'Key BC',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_key_01.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-Key_BC"></a></li>

                                 <li onmouseover="return overlib(overlib_88,CAPTION,'Members',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/spell_holy_crusade.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-memberslist"></a></li>
                                 <li onmouseover="return overlib(overlib_89,CAPTION,'Guilds',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/spell_nature_natureguardian.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-memberslist-guild"></a></li>
                                 <li onmouseover="return overlib(overlib_90,CAPTION,'Gems',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_jewelcrafting_nightseye_03.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-GemsDisplay"></a></li>
                              </ul>
            </div>
                        <div class="menu_scope" id="menu_guild">
               <div align="left">Guild Panel</div>
               <ul>

                                 <li onmouseover="return overlib(overlib_91,CAPTION,'Members',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/spell_holy_prayerofspirit.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-memberslist"></a></li>
                                 <li onmouseover="return overlib(overlib_92,CAPTION,'Member Log',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_symbolofkings_01.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-memberslist-log"></a></li>
                                 <li onmouseover="return overlib(overlib_93,CAPTION,'Professions',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/trade_blacksmithing.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-professions"></a></li>
                                 <li onmouseover="return overlib(overlib_94,CAPTION,'Stats',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_book_09.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-memberslist-statslist"></a></li>
                                 <li onmouseover="return overlib(overlib_95,CAPTION,'GuildBank',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_bag_15.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-guildbank"></a></li>
                                 <li onmouseover="return overlib(overlib_96,CAPTION,'Instance Keys',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_key_06.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-keys"></a></li>
                                 <li onmouseover="return overlib(overlib_97,CAPTION,'Key BC',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_key_01.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-Key_BC"></a></li>
                                 <li onmouseover="return overlib(overlib_98,CAPTION,'Made By',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_gizmo_02.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-madeby"></a></li>
                              </ul>
            </div>

                     </div>

menu 3
Code: Select all
<div class="menu_utility" id="menu_util">
               <div align="right">Utilities Panel</div>
               <ul>
                                 <li onmouseover="return overlib(overlib_4,CAPTION,'Roster CP',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_gear_02.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=rostercp"></a></li>
                                 <li onmouseover="return overlib(overlib_5,CAPTION,'Credits',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_egg_05.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=credits"></a></li>

                                 <li onmouseover="return overlib(overlib_6,CAPTION,'Search',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_spyglass_02.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=search"></a></li>
                              </ul>
            </div>
                        <div class="menu_scope" id="menu_realm" style="display: none;">
               <div align="left">Realm Panel</div>
               <ul>
                                 <li onmouseover="return overlib(overlib_7,CAPTION,'Quest List',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/spell_holy_surgeoflight.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-questlist"></a></li>
                                 <li onmouseover="return overlib(overlib_8,CAPTION,'Key BC',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_key_01.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-Key_BC"></a></li>

                                 <li onmouseover="return overlib(overlib_9,CAPTION,'Members',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/spell_holy_crusade.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-memberslist"></a></li>
                                 <li onmouseover="return overlib(overlib_10,CAPTION,'Guilds',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/spell_nature_natureguardian.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-memberslist-guild"></a></li>
                                 <li onmouseover="return overlib(overlib_11,CAPTION,'Gems',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_jewelcrafting_nightseye_03.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=realm-GemsDisplay"></a></li>
                              </ul>
            </div>
                        <div class="menu_scope" id="menu_guild">
               <div align="left">Guild Panel</div>
               <ul>

                                 <li onmouseover="return overlib(overlib_12,CAPTION,'Members',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/spell_holy_prayerofspirit.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-memberslist"></a></li>
                                 <li onmouseover="return overlib(overlib_13,CAPTION,'Member Log',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_symbolofkings_01.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-memberslist-log"></a></li>
                                 <li onmouseover="return overlib(overlib_14,CAPTION,'Professions',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/trade_blacksmithing.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-professions"></a></li>
                                 <li onmouseover="return overlib(overlib_15,CAPTION,'Stats',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_book_09.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-memberslist-statslist"></a></li>
                                 <li onmouseover="return overlib(overlib_16,CAPTION,'GuildBank',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_bag_15.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-guildbank"></a></li>
                                 <li onmouseover="return overlib(overlib_17,CAPTION,'Instance Keys',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_key_06.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-keys"></a></li>
                                 <li onmouseover="return overlib(overlib_18,CAPTION,'Key BC',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_misc_key_01.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-Key_BC"></a></li>
                                 <li onmouseover="return overlib(overlib_19,CAPTION,'Made By',WRAP);" onmouseout="return nd();" style="background-image: url(../Interface/Icons/inv_gizmo_02.jpg); background-position: center; background-repeat: no-repeat;"><a href="index.php?p=guild-madeby"></a></li>
                              </ul>

            </div>
                     </div>

Using firefox 2.0.0.6
Last edited by Subxero on Tue Sep 04, 2007 10:19 pm, edited 1 time in total.
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

Custom Buttons? Not working [1291]

Postby PleegWat » Wed Sep 05, 2007 12:32 am

Ah, yeah, I've seen that too. It's pretty random, it's definitely no different in the source, and it occurs with the memberslist header row too sometimes (also in 1.7.x). I think it's a firefox bug.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

Custom Buttons? Not working [1291]

Postby zanix » Sat Sep 22, 2007 3:56 pm

Adric says he's tried to fix the display issue
But I have seen that it's quite random even after him tweaking it

As for the new window options, I think I can add some more options
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: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron