Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 09-05-2005, 04:32 PM
PuntoPower PuntoPower is offline
 
Join Date: Apr 2004
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it works, well kinda, there is another image file which is only a few pixels wide but it repeats for the width of the forum depending on the resolution of the users screen. this goes on the right straight after the header. how do i add this to the code?

thanks again
Attached Images
File Type: gif logostrip_bg.gif (1,016 Bytes, 0 views)
Reply With Quote
  #12  
Old 09-05-2005, 05:01 PM
KTBleeding's Avatar
KTBleeding KTBleeding is offline
 
Join Date: Feb 2004
Location: Tooele, UT
Posts: 756
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you still want to eliminate tables, I would wrap it inside another div with the logostrip_bg information. For example:

Code:
<div style="background: #000 url(path_to/images/misc/logostrip_bg.gif);">
	<div style="background: #000 url(path_to/images/misc/logostrip.gif) no-repeat; height: 120px;">
		<div style="float: right; margin: 10px; border: 1px solid #000;">
			<script language="JavaScript" type="text/javascript" src="http://website.com/phpAdsNew/adx.js"></script>
			<script language="JavaScript" type="text/javascript">
			<!--
			   if (!document.phpAds_used) document.phpAds_used = ',';
			   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
			   
			   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
			   document.write ("http://website.com/phpAdsNew/adjs.php?n=" + phpAds_random);
			   document.write ("&amp;what=zone:3");
			   document.write ("&amp;exclude=" + document.phpAds_used);
			   if (document.referrer)
				  document.write ("&amp;referer=" + escape(document.referrer));
			   document.write ("'><" + "/script>");
			//-->
			</script>
			
			<a href="http://website.com/phpAdsNew/adclick.php?n=af4aa6e8" target="_blank"><img src="http://website.com/phpAdsNew/adview.php?what=zone:3&amp;n=af4aa6e8" border="0" alt="" /></a>
		
		</div>
	</div>
</div>
Reply With Quote
  #13  
Old 09-06-2005, 07:21 AM
PuntoPower PuntoPower is offline
 
Join Date: Apr 2004
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that didnt work :ermm:

the logostrip_bg wont show up after the first gif (logostrip.gif)

here is the code at the moment.....


Code:
<div style="background: #ffffff url(http://www.abc.com/forum/images/aesthetic/misc/logostrip_bg.gif) repeat-x; height: 201px;">


<div style="background: #ffffff url(http://www.abc.com/forum/images/aesthetic/misc/logostrip.gif) no-repeat; height: 201px;">


<div style="float: right; margin: 20px; border: 0px solid #ffffff;">

<script language='JavaScript' type='text/javascript' src='http://abc.com/phpAdsNew/adx.js'></script>
<script language='JavaScript' type='text/javascript'>

   if (!document.phpAds_used) document.phpAds_used = ',';
   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
   
   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
   document.write ("http://abc.com/phpAdsNew/adjs.php?n=" + phpAds_random);
   document.write ("&amp;what=zone:3");
   document.write ("&amp;exclude=" + document.phpAds_used);
   if (document.referrer)
      document.write ("&amp;referer=" + escape(document.referrer));
   document.write ("'><" + "/script>");

</script><noscript><a href='http://abc.com/phpAdsNew/adclick.php?n=af4aa6e8' target='_blank'><img src='http://abc.com/phpAdsNew/adview.php?what=zone:3&amp;n=af4aa6e8' border='0' alt=''></a></noscript>


</div>
</div>
</div>
Reply With Quote
  #14  
Old 09-20-2005, 09:37 AM
PuntoPower PuntoPower is offline
 
Join Date: Apr 2004
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump.............
Reply With Quote
  #15  
Old 09-21-2005, 09:29 AM
LEAD_WEIGHT LEAD_WEIGHT is offline
 
Join Date: Feb 2005
Location: Canada
Posts: 369
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

go here for some help as well then if you get the answer you can post it in both places.

Code:
http://www.dynamicdrive.com/forums/
Reply With Quote
Reply

Thread Tools
Display Modes

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:49 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03885 seconds
  • Memory Usage 2,216KB
  • Queries Executed 14 (?)
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
  • (3)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (1)postbit_attachment
  • (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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete