#1 (permalink)  
Old 05.05.2006, 18:39
Neuer Benutzer
 
Join Date: 05.2006
Posts: 3
Rep Power: 7
Tilsim is on a distinguished road
Flashchat Link in Navbar
I want to include Flashchat link in the navbar instead of the register link which is placed to the right side.

Normally I would add this tag to the template:

<td class="vbmenu_control"><a href="chat/flashchat.php"
target="flashchat">Flashchat</a></td>

Now I've prepared my buttons c_flashchat.jpg and ch_flashchat.jpg for flashchat with the same size as c_register.jpg and ch_register.jpg

I can change

.c_register_right{ background:url(/designs/cyborg-dark/c_register.jpg);float:right;display:block; width:86px; height:33px; }
.c_register_right a:hover{ background:url(/designs/cyborg-dark/ch_register.jpg); }

to

.c_flashchat{ background:url(/designs/cyborg-dark/c_flashchat.jpg);float:right;display:block; width:86px; height:33px; }
.c_flashchat a:hover{ background:url(/designs/cyborg-dark/ch_flashchat.jpg); }

and

.c_user_cp span, .c_register span, .c_member span, .c_calendar span, .c_faq span, .c_search span, .c_new_posts span, .c_menu span, .c_daily_posts span, .c_log_out span, .c_register_right span{display:none;}

to

.c_user_cp span, .c_register span, .c_member span, .c_calendar span, .c_faq span, .c_search span, .c_new_posts span, .c_menu span, .c_daily_posts span, .c_log_out span, .c_flashchat span{display:none;}

but

what will I write for

<div class="c_register_right"><a class="c_register_right" href="register.php?$session[sessionurl]" title="$vbphrase[register]"><span>$vbphrase[register]</span></a></div>

in the red tags

<div class="c_register_right"><a class="c_register_right" href="register.php?$session[sessionurl]" title="$vbphrase[register]"><span>$vbphrase[register]</span></a></div>

Thank you
Reply With Quote
  #2 (permalink)  
Old 06.05.2006, 17:25
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,870
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Make it so:

Code:
.c_flashchat a:link, .c_flashchat a:visited{ background:url(/designs/cyborg-dark/c_flashchat.jpg);float:right;display:block; width:86px; height:33px; }
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #3 (permalink)  
Old 08.05.2006, 10:17
Neuer Benutzer
 
Join Date: 05.2006
Posts: 3
Rep Power: 7
Tilsim is on a distinguished road
Unglücklich Christian it didn't work
When I add your tag to the file all background pictures have disappeared.

What I want to do is:

I want to add a button near calendar or search buttons in the navbar.

Only members will see this button.

c_flashchat.jpg and ch_flashchat.jpeg (86px-33px) buttons are in designs/cyborg-dark folder.

When a member clicks this button, chat/flashchat.php popup will be opened. (Without entering the username and password again, the program accepts the user to the chatroom directly.)

Could you please help me about what to do ?
Reply With Quote
  #4 (permalink)  
Old 08.05.2006, 13:46
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,870
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Make it so:

Template Headinclude add:

Code:
<script type="text/javascript">
<!--
function popup(theURL,winName,features){ //v2.0 
windowstart=window.open(theURL,winName,features); 
windowstart.focus(); 
}
 -->
</script>
and template header:

Code:
<if condition="show[member]">
<div class="c_flashchat"><a class="c_flashchat" href="javascript:popup('chat.php','','width=500,height=650,left=100,top=100,scrollbars=yes,resizable=yes');" title="Chat"><span>Chat</span></a></div>
</if>
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
  #5 (permalink)  
Old 08.05.2006, 15:11
Neuer Benutzer
 
Join Date: 05.2006
Posts: 3
Rep Power: 7
Tilsim is on a distinguished road
It's a link, not button
Christian, it worked thank you.

But not as a button, a link came ON the center picture which originally has a link to Home. So the beauty of the cyborg-dark style vanishes.

I'm trying to place my button near calendar or search buttons.

When I write

.c_flashchat{ background:url(/designs/cyborg-dark/c_flashchat.jpg);float:left;display:block; width:86px; height:33px; }
.c_flashchat a:hover { background:url(/designs/cyborg-dark/ch_flashchat.jpg); }


to the /** Header & Navigation **/

all the background pictures disappear.
Reply With Quote
  #6 (permalink)  
Old 09.05.2006, 11:47
Christian's Avatar
Web Design
 
Join Date: 12.2003
Location: In Spocks Quartier
Age: 34
Posts: 16,870
Rep Power: 10
Christian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond reputeChristian has a reputation beyond repute
Have you add this?

Code:
.c_user_cp span, .c_register span, .c_member span, .c_calendar span, .c_faq span, .c_search span, .c_new_posts span, .c_menu span, .c_daily_posts span, .c_log_out span, .c_flashchat span{display:none;}
__________________
Meine kleinen Engel ... Die Rabauken ...
Reply With Quote
Reply

Lesezeichen

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist On.
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add link on navbar? kick_1kick English customer support 2 20.03.2006 19:04
Help with Vision navbar css59 English Forums 1 04.05.2005 09:33
[Release] Flashchat-Board Hack Snyper Recycle-Bin 3 29.04.2005 18:46
Wie Flashchat integrieren? Saghon Allg. vB Support 1 20.02.2005 09:54
navbar Tippi Allg. vB Support 6 25.09.2004 17:55


Copyright © 2006, Reuter & Bloeß GbR.
| Datenschutz | Sitemap | Unsere Partner | Top |
Home Products Forum Über uns Support & FAQs
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 ©2009, Crawlability, Inc.
Tipp: Fussball | Heilerde
Shopsystem, Shop System, CMS, Webkatalog mit vBCMS CMS