Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-03-2009, 03:30 PM
Winterworks Winterworks is offline
 
Join Date: Feb 2008
Location: Canada
Posts: 640
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default YOOtheme Dropdown Box!

<a href="http://demo.yootheme.com/apr08/" target="_blank">http://demo.yootheme.com/apr08/</a>

See the Toppanel button? Click it, and it drops down.

I want one of those on my website... I've tried adding it. I've taken the CSS, I've viewed the source and copied it all, and got the "Toppanel" tab on my site, but when you click it, nothing.

Can someone help me out with this?

(Yes, I want it how it is there, it's a somewhat transparent box)
Reply With Quote
  #2  
Old 01-03-2009, 03:39 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you grab the javascript also?
Reply With Quote
  #3  
Old 01-03-2009, 03:41 PM
Winterworks Winterworks is offline
 
Join Date: Feb 2008
Location: Canada
Posts: 640
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

All I got was...

(Here's my FORUMHOME, the bold is the parts I took)

Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
	<!-- no cache headers -->
	<meta http-equiv="Pragma" content="no-cache" />
	<meta http-equiv="Expires" content="-1" />
	<meta http-equiv="Cache-Control" content="no-cache" />
	<!-- end no cache headers -->
	$headinclude
	<title><phrase 1="$vboptions[bbtitle]">$vbphrase[x_powered_by_vbulletin]</phrase>
</title>
 <link rel="stylesheet" href="http://demo.yootheme.com/apr08/modules/mod_yoo_toppanel/mod_yoo_toppanel.css.php" type="text/css" />
</head>
<body>

		<div id="absolute">
		<div class="transparent">
	<div id="yoo-toppanel-1" class="yoo-toppanel">

		<div class="panel-container" style="top: 0px;">
			<div class="panel-wrapper">
				<div class="panel" style="height: 340px; margin-top: -340px;">

					<div class="content" style="width: 600px;">
												<div class="close">
							close						</div>
																		<div class="article">
	<h3>YOOtoppanel</h3>
<div>The YOOtoppanel module is fully configurable and any article or module can be published here.</div>	</div>												<div class="article">
	<div class="width50 float-left">

  <div style="width: 250px; height: 180px; border: 10px solid #282828; background: url('http://demo.yootheme.com/apr08/images/yootheme/toppanel_yootheme.jpg')">
  </div>
</div>
<div class="width50 float-left">
  <div style="float: right; width: 250px; height: 150px; padding: 20px 10px 10px 10px; border: 10px solid #282828; background: url('http://demo.yootheme.com/apr08/images/yootheme/toppanel_login.jpg')">
    
<form action="http://demo.yootheme.com/apr08/index.php" method="post" name="login">

<span class="default" style="display: block;">
	<span class="yoo-login">
	
				
				
		<span class="login">
		
						
			<span class="username">

			
								<input type="text" name="username" size="18" alt="Username" value="Username" onblur="if(this.value=='') this.value='Username';" onfocus="if(this.value=='Username') this.value='';" />
								
			</span>
			
			<span class="password">
			
								<input type="password" name="passwd" size="10" alt="Password" value="Password" onblur="if(this.value=='') this.value='Password';" onfocus="if(this.value=='Password') this.value='';" />
								
			</span>

									<input type="hidden" name="remember" value="yes" />
									
			<span class="login-button-icon">
				<button value="" name="Submit" type="submit" title="Login"></button>

			</span>
			
						<span class="lostpassword">
				<a href="http://demo.yootheme.com/apr08/index.php?option=com_user&amp;view=reset">Forgot your password?</a>
			</span>
						
						<span class="lostusername">
				<a href="http://demo.yootheme.com/apr08/index.php?option=com_user&amp;view=remind">Forgot your username?</a>
			</span>
						
						<span class="registration">

				<a href="http://demo.yootheme.com/apr08/index.php?option=com_user&amp;task=register">Create an account</a>
			</span>
						
						
			<input type="hidden" name="option" value="com_user" />
			<input type="hidden" name="task" value="login" />
			<input type="hidden" name="return" value="aHR0cDovL2RlbW8ueW9vdGhlbWUuY29tL2FwcjA4Lw==" />
			<input type="hidden" name="0291f5af3d25c79486a473e5493db018" value="1" />
		</span>
		
				
	</span>

</span>
</form>
  </div>
</div>	</div>											</div>
				</div>
			</div>
			<div class="trigger" style="left: 50%;">
				<div class="trigger-l" style=""></div>
				<div class="trigger-m">Toppanel</div>

				<div class="trigger-r" style=""></div>
			</div>
		</div>
			
	</div>		
</div><script type="text/javascript">
// <!--
var panelFx1 = new YOOtoppanel('yoo-toppanel-1', { offset: 340, transition: Fx.Transitions.expoOut, duration: 500 });
panelFx1.addTriggerEvent('#yoo-toppanel-1 .trigger')
panelFx1.addTriggerEvent('#yoo-toppanel-1 .close');
// -->
</script>
<div style="position: absolute;	z-index: 20; top: 0px; left: 0px; width: 135px; height: 135px;">
	
</div>
	</div>
Could you tell me where to get the javascript, and where it goes?

Edit: In the <head></head>

I now added..

Code:
<link href="http://demo.yootheme.com/apr08/templates/yoo_ambient/favicon.ico" rel="shortcut icon" type="image/x-icon" />

  <link rel="stylesheet" href="http://demo.yootheme.com/apr08/modules/mod_yoo_toppanel/mod_yoo_toppanel.css.php" type="text/css" />
  
  <script type="text/javascript" src="http://demo.yootheme.com/apr08/modules/mod_yoo_toppanel/mod_yoo_toppanel.js"></script>
Still, nothing.
Reply With Quote
  #4  
Old 01-03-2009, 05:13 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I really don't know and don't feel like reading all about the yootool modules offered there. Have you read everything on that site about them and configured your page according to their instructions?
Reply With Quote
  #5  
Old 01-04-2009, 03:00 AM
TimberFloorAu's Avatar
TimberFloorAu TimberFloorAu is offline
 
Join Date: May 2008
Location: Brisbane
Posts: 2,264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We implemented a similar thing on our forum, on homepage. Viewable to guests.

Click MegaMenu toggle.

Ste
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04054 seconds
  • Memory Usage 2,207KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete