Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Scroll With IE or Firefox Issue.
Old 01-10-2007, 06:04 PM Scroll With IE or Firefox Issue.
Average Talker

Posts: 24
Location: Greece
Trades: 0
Hi,

F1trader was developed with an option to scroll the classifieds. (bottom of homepages)

Within IE it is working as it should be. In firefox the scroll option is not working properly.

http://www.f1trader.com

The developers have never considered this problem and I only know recently about Firefox and facing this kind of problems.

Is there anyone who knows if there is a sollution to resolve this problem at all. I just need to know if I can get i work properly in Firefox too. I am not really interested which browser I use better.... It just have to work for all browsers..



I Guess this is the code in order to scroll the classifieds.....
I hope this is enough to see what could cause the problem...

Thanx....


<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="99" bgcolor="#FAFAFA"><img src="<? echo$php_str_rootPath."images/"; ?>spacer.gif" width="43" height="1"></td>
</tr>
<tr>
<td background="<? echo $php_str_rootPath."images/".$_SESSION['ses_str_color']."/"; ?>back-bg.gif">
<div align="center"><a href="javascript://" onclick="return false" onMouseOut="MM_swapImgRestore(),dw_stopScroll(0)" onMouseOver="MM_swapImage('Image50','','<? echo $php_str_rootPath."images/".$_SESSION['ses_str_color']."/"; ?>back-mo.gif',1),dw_startScroll(0,'left')" onmousedown="dw_doubleSpeed(0)" onmouseup="dw_resetSpeed(0)"><img name="Image50" border="0" src="<? echo $php_str_rootPath."images/".$_SESSION['ses_str_color']."/"; ?>back.gif" width="25" height="26"></a></div></td></tr></table>
</td>


<td width="100%" >
<?
$agent = $_SERVER['HTTP_USER_AGENT'];
if( stristr( $agent , "MSIE") || stristr( $agent , "internet Explorer") )
{
$brws = 'IE';
}
else
$brws = 'OTHER';
if( eregi("microsoft internet explorer", $agent ) ) {
$brws = 'IE';
}
//print("&nbsp;");
if( $brws == "IE" ) {
print("<div id=\"hold\" >");
print("<div id=\"wn\" >");
print("<div id=\"lyr1\" >");
}
else
{
print("<div id=\"hold\" style=\"position: relative;\">");
print("<div id=\"wn\" style=\"position: relative; \">");
print("<div id=\"lur1\" style=\"position: relative; \">");
}
?>
<table id="t1" width="100%" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<? getLatestVehiAdvt();?>
</tr>
</table>
</div>
</div>
</div>
</td>
<td width="47" background="<? echo $php_str_rootPath."images/".$_SESSION['ses_str_color']."/"; ?>next-bg.gif" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="99" bgcolor="#FAFAFA" class="latest-image-bg"><img src="<? echo $php_str_rootPath."images/"; ?>spacer.gif" width="47" height="1"></td>
</tr>
<tr>
<td background="<? echo $php_str_rootPath."images/".$_SESSION['ses_str_color']."/"; ?>next-bg2.gif">
<div align="center"><a href="javascript://" onclick="return false" onMouseOut="MM_swapImgRestore(),dw_stopScroll(0)" onMouseOver="MM_swapImage('Image49','','<? echo $php_str_rootPath."images/".$_SESSION['ses_str_color']."/"; ?>next-mo.gif',1),dw_startScroll(0,'right')" onmousedown="dw_doubleSpeed(0)" onmouseup="dw_resetSpeed(0)"><img name="Image49" border="0" src="<? echo $php_str_rootPath."images/".$_SESSION['ses_str_color']."/"; ?>next.gif" width="25" height="26"></a></div>
</td>
</tr>
</table>
</td>
</tr>
</table>
__________________
Sell & Buy homes I Cars I Collectors I Trucks I Bikes I Boats Locally or abroad!


Please login or register to view this content. Registration is FREE
F1trader is offline
Reply With Quote
View Public Profile Visit F1trader's homepage!
 
 
Register now for full access!
Old 01-10-2007, 08:01 PM Re: Scroll With IE or Firefox Issue.
frofi's Avatar
Extreme Talker

Posts: 236
Location: London
Trades: 0
Submitting your HTML along with PHP is a bit confusing and unnecessary. It will only work with your server.

Could you submit the EXACT URL of the page where your problem shows? I've browsed your site up and down but I found no significant difference between IE and FF.
__________________
THE FORCE is with me at last! All I need now is some TALKUPATION ;)

Last edited by frofi; 01-10-2007 at 08:06 PM..
frofi is offline
Reply With Quote
View Public Profile
 
Old 01-10-2007, 08:11 PM Re: Scroll With IE or Firefox Issue.
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I see the problem in FF, and I'm seeing an error in your javascript:
Quote:
lyr has no properties
loadLayer("lyr1", "t1")dw_scroll.js (line 22)
dw_scrollLayer("wn", "lyr1", "t1")dw_scroll.js (line 10)
initScrollLayer()index2.php (line 276)

[IMG]chrome://firebug/content/blank.gif[/IMG] lyr.style.top = this.y = 0; lyr.style.left = this.x = 0;
Looks like you need to debug this first, or find another script.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 01-11-2007, 03:42 AM Re: Scroll With IE or Firefox Issue.
Average Talker

Posts: 24
Location: Greece
Trades: 0
Thanx already for you reactions...

I thought it would be more helpful to add the piece of code instead of just mentioning the url. Is this a general opinion for coders???? Will leave it out the next time I have a question...

Have to look into the property issue. Don't know exactly what to do as I stopped with the developers a while ago, just because of the huge numbers of errors they had created in the codes... and not willing to fix them.


The exact url is http://www.f1trader.com/vehicle/index2.php
Down on the bottom of the screen you see the area Latest Adverts.

In IE you can scroll forward & Backward the classifieds (by clicking the arrows)

In firefox you see a few classifieds, but you cannot scroll...

I hope this will help.

Thanx again for your support.
__________________
Sell & Buy homes I Cars I Collectors I Trucks I Bikes I Boats Locally or abroad!


Please login or register to view this content. Registration is FREE
F1trader is offline
Reply With Quote
View Public Profile Visit F1trader's homepage!
 
Reply     « Reply to Scroll With IE or Firefox Issue.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.67613 seconds with 12 queries