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 10-25-2007, 09:11 PM
MrApples MrApples is offline
 
Join Date: Aug 2007
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default IE Blues

I just happened as my 'dynamic header' (what I call it) was nearing completion, happened to visit the site using IE and not FireFox. What I saw was a disaster.

Could someone please point me to a guide for making it cross-browser compatible. I only would like to support IE6+ and Opera's latest(whatever that is).

For those of you who are really good at this stuff and are just in the mood of finding obvious errors...
Code:
<style type="text/css">
img.logo{
position:absolute;
z-index:2;
}

div.holder{
position: relative;
}

div.notice{
z-index:10;
position:absolute;
}

td.hbrows{
padding-bottom: 4px;
text-align: center;
}
</style>

<center>
<table id="Table_01" width=99% height="159" border="0" cellpadding="0" cellspacing="0">
	<tr align="center" valign="middle">
		<!-- Buttons -->
		<td width="230">
			<table border="0" cellspacing="0">
				<tr>
					<td class="hbrows">
						<a href=""><img id="homeb" onMouseover="switchheader('logo')" src="/styles/7M-v1/new/hb_home.png" alt="home" border="0" /></a>
						<a href="/"><img id="projectsb" onMouseover="switchheader('projects')" src="/styles/7M-v1/new/hb_projects.png" alt="projects" border="0" /></a>
							</td>
				</tr><tr>
					<td class="hbrows">
						<a href="/forums.php"><img id="forumsb" onMouseover="switchheader('logo')" src="/styles/7M-v1/new/hb_forums.png" alt="forums" border="0" /></a>
						<a href="/"><img id="clansb" onMouseover="switchheader('clans')" src="/styles/7M-v1/new/hb_clans.png" alt="clans" border="0" /></a>
						<!-- <img src="/styles/7M-v1/new/hb_files.gif" border="0" /> -->
							</td>
						
				</tr><tr>
					<td class="hbrows">
						<a href="/members/list/"><img id="membersb" src="/styles/7M-v1/new/hb_members.png" alt="members" border="0" /></a>
						<a href="/"><img id="talkb" onMouseover="switchheader('talk')" src="/styles/7M-v1/new/hb_talk.png" alt="talk" border="0" /></a>
							</td>
				</tr><tr>
					<td class="hbrows">
						<if condition="!$show['member']"><a href="/register.php"><img id="joinb" src="/styles/7M-v1/new/hb_joinred.png" alt="join" border="0" /></a>
						<else /><a href="/usercp.php"><img id="cpb" src="/styles/7M-v1/new/hb_cpred.png" alt="cp" border="0" /></a></if>
						<a href="/"><img id="stuffb" onMouseover="switchheader('stuff')" src="/styles/7M-v1/new/hb_stuff.png" alt="stuff" border="0" /></a>
				</tr><tr>
					<td class="hbrows">
						<a href="/faq.php"><img id="faqb" src="/styles/7M-v1/new/hb_faq.png" alt="faq" border="0" /></a>
						<a href="/"><img id="customb" onMouseover="switchheader('custom')" src="/styles/7M-v1/new/hb_custom.png" alt="custom" border="0" /></a>
							</td>
				</tr></if>
			</table>
		</td>
		<!-- Header (empty) -->
		<td width="524" height="159">
			<div width="100%" class="holder">
				<img class="logo" id="logo" style="left: 0;" src="/styles/7M-v1/new/defleft.png" alt="">
				<div id="projects"></div>
				<div id="clans"></div>
				<div id="talk"></div>
				<div id="stuff"></div>
				<div id="custom"></div>
				<div class="notice" id="nojs"><noscript><b>This header requires JAVASCRIPT in-order to function properly. JS is browser-side scripting, and it lets us make the site cooler and easier to navigate. Chances are you disabled it, or an ad-blocker is killing it. If not, your browser sucks; upgrade. Please make an exception for this site, we won't give you pop-ups or any other crap. In fact our ads display to GUESTS (people not logged-in) only!<br /><br /><center><a href="http://www.google.com/support/bin/answer.py?answer=23852">! JavaScript Help !</a></b></center></div></noscript>
			</div>
			<img src="/styles/7M-v1/new/emptyleft.png" />
		</td>
		<td height="159">
			<img width="100%" height="159" src="/styles/7M-v1/new/emptymidnew.png" />
		</td>
		<td width="307" height="159">
			<div width="100%" class="holder" id="logo2">
				<img class="logo" style="right: 0;" src="/styles/7M-v1/new/defright.png" alt="">
			</div>
			<img src="/styles/7M-v1/new/emptyright.png" />
		</td>
	</tr>
</table>
</center>

<script type="text/javascript">
	hcur='logo';
	headerinit();
</script>
Reply With Quote
  #2  
Old 10-29-2007, 09:48 PM
MrApples MrApples is offline
 
Join Date: Aug 2007
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please? Just want a link to a good cross-computability resource, I'm sure lots of you know one.
Reply With Quote
  #3  
Old 10-31-2007, 01:34 PM
Dilmah Dilmah is offline
 
Join Date: May 2005
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A link would make it easier.
Reply With Quote
  #4  
Old 11-01-2007, 07:56 PM
MrApples MrApples is offline
 
Join Date: Aug 2007
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure would.
Reply With Quote
  #5  
Old 11-01-2007, 10:35 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think he means a link to your site ..................
Reply With Quote
  #6  
Old 11-01-2007, 11:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You know, there are *so* many sites out there on CSS and how you need to do funky hacks for IE. Just google "CSS IE firefox" and you'll get a ton. You might want to add in position and z-index in your search.
Reply With Quote
  #7  
Old 11-02-2007, 03:43 AM
Dilmah Dilmah is offline
 
Join Date: May 2005
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul is correct.

A link to your site where we can see the code in action, and tell you what is wrong.

Based on what you have given we can't even point you to a resource to read, because we don't know what issues you are having.
Reply With Quote
  #8  
Old 11-08-2007, 02:10 AM
MrApples MrApples is offline
 
Join Date: Aug 2007
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Of course it would but I don't want people to waste time looking at my site specifically. I consider this an issue I need to learn for generically in order to fix.

I've learned since that most of the issues were happening with only one particular computer and my own. Probably because I don't update IE at all. The main issue aside from that is lack of transparency, and I can't fix that through code.
Reply With Quote
  #9  
Old 11-08-2007, 09:08 AM
Dilmah Dilmah is offline
 
Join Date: May 2005
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You're missing the point. Without knowing what the problem is, we can't help you fix it - even fixing generic problems still needs information. What you've given isn't even enough to start troubleshooting.
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 08:40 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.04291 seconds
  • Memory Usage 2,250KB
  • 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
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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