Archive for myfreeforum.org Before posting please check the "stickies" in the support forums.
Please ask questions in real English and not "txt". You will get a better response.
Please do not ask support questions via PMs.
 


       myfreeforum.org Forum Index -> Web page/template Editing
danm97

Marquee and dropdown menu on IE

PLEASE ENTER THE FOLLOWING>>>>


Enter your myff forum url here, if the issue is on a particular part of the forum, then give a link to where the problem actually is. Do not enter your own domain name it must be the actual myff link :

http://freeforallpoker.myfunforum.org/index.html

If you are asking a template related question, what is the name of the template:

XX

Please indicate keywords you have searched on:

marquee

Now ask your question in clear English without "txt" speak>>>>


Ok, not sure if I can ask for this one but will try my luck ...

I made a few scrolling banner on my site, everything is find on the forum with every browser. but when it comes to the web page, IE screw everything up.

Sorry its a bit hard for me to explain it in english but I'll try..

The scroll should start and end on certain points in the wondow but on IE it goes from one side to another and doesnt scroll normaly (you need to hover over it to move) and still it doesnt move corctly its more like jumps.

Heres the page you can see the problem (reminder only on IE)
http://freeforallpoker.net/Poker.html
(Domain from MYFF)

Here's the codes I used for this scroll...

Spoiler:

Code:
<div class="thumbs" align="center"><marquee scrollamount=8 onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=8">



<a href="http://www.pokerstars.com/?source=10322550">
<img src="http://www.pokerstars.com/bnrs/current/230x65.gif" width="234" height="60">
</a>

<a href="http://www.fulltiltpoker.com?key=MDAwMTE2REEwMDAyRENDQTIwNjI0MDIyMDAwMDI2NDU-" target="_blank"><img src="http://www.fulltiltpoker.com/images/com/en/content/affiliates/banners-sizes/get-paid-to-play-ivey/240x60.gif" alt="Play Online Poker " width="240" height="60" border="0" ></a>

<a href='http://en.partypoker.com/hp_landingpages/hm_en_lp_500.html?wm=3225175&banid=8117' target='_blank'><img src='http://banners.partypartners.com/images/marketing-materials/partypoker/english/gif/234x60/wpt dollar/234x60-WPT.gif' width='234' height='60' border='0' alt='wpt dollar' title="wpt dollar"></a>

<a href="http://banners.chipleader.com/banners/redirect.php?id=17588&cmpgn_id=90962&prdct_id=1&cat_cd=UB"><img src="http://banners.chipleader.com/banners/bnrimg.php?id=17588&meth=clickthrough&cmpgn_id=90962&prdct_id=1" alt="Poker online with Joe Sebok" border="0"></a>

<a href="http://sev4ifmxa.com/click/WEE6U2FsdGVkX1@ndMEhe5uSdr2-HVhb5mvQrS5erlkosxciRK3mcRWJezj-irkJfpJMRxHBGO@ffAxHzG8ff@2rlw==/97779prfrthe1" target=""><img src="http://sev4ifmxa.com/image/WEE6U2FsdGVkX1@ndMEhe5uSdr2-HVhb5mvQrS5erlkosxciRK3mcRWJezj-irkJfpJMRxHBGO@ffAxHzG8ff@2rlw==/97779prfrthe1" width="234" height="60" border="0"></a>

<a href="http://banners.chipleader.com/banners/redirect.php?id=3223&cmpgn_id=90962&prdct_id=1&cat_cd=AP"><img src="http://banners.chipleader.com/banners/bnrimg.php?id=3223&meth=clickthrough&cmpgn_id=90962&prdct_id=1" alt="Signup now and get 100% more and up to $500" border="0"></a>

<script href="http://travis.bosscasinos.com/re.asp?name=POK&camp=REF133939_0&go=http://www.a-winning-hand.com" target="blank"
   type="text/javascript"
   src="https://bas.bosscasinos.com/Ads/get.aspx?x=Y249UkVGMTMzOTM5XzAmaT0xNjQxJnByPTEwOSZtPTI=">
</script>

 <a href="http://affiliates.commissionaccount.com/processing/profilelinks.asp?pid=246&siteid=12098"><img src="http://affiliates.commissionaccount.com/processing/profileimages.asp?pid=246&siteid=12098" alt="" border=0></a>
</marquee></div>

<div>
<h1>Music Video Player</h1>

<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNjUxNTM1MDA3MDMmcHQ9MTI2NTE1MzUwNDY1NiZwPTE4MDMxJmQ9Jmc9MSZvPTQ4NTFkM2E4NjU5OTQ3ZmE4ZmUx/ZjM*MDQ1YzQxNzkw.gif" /><center><p style="visibility:visible;"><object type="application/x-shockwave-flash" data="http://assets.myflashfetish.com/swf/mp3/mp-simp.swf" height="165" width="240" style="width:240px;height:165px"><param name="movie" value="http://assets.myflashfetish.com/swf/mp3/mp-simp.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="salign" value="TL" /><param name="wmode" value="transparent"/><param name="flashvars" value="myid=43079480&path=2010/02/02&mycolor=045c82&mycolor2=f7f6ef&mycolor3=12120e&autoplay=true&rand=1&f=4&vol=100&pat=14&grad=false&ow=240&oh=165"/></object>


<h5><p class="intro">Enjoy music while you play! You wish to have your favorite music video in our player? Just post in our forum and have any special request suitable for everyone!
</p></h5>

<p align="center">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="230" height="65" id="230x65" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="http://www.pokerstars.com/poker/affiliate/banners/flash/230x65_2.swf?clickTAG=http%3A%2F%2Fwww.pokerstars.com%2Fvip%2F%3Fsource%3D10322550" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><embed src="http://www.pokerstars.com/poker/affiliate/banners/flash/230x65_2.swf?clickTAG=http%3A%2F%2Fwww.pokerstars.com%2Fvip%2F%3Fsource%3D10322550" quality="high" bgcolor="#000000" width="230" height="65" name="230x65" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object>
</p>
</div>





Now I have a similar problem with dropdown menus...

Using javascript I made a show/hide menu and a popup menu.

Working find on Firefox, but IE is a pain again.

The menus works with javascript (onclick) but when I click on it on IE nothing happen.

Heres the page you can see the problem (reminder only on IE)
http://freeforallpoker.net/Poker2.html
(Domain from MYFF)
(this page isnt ready for members yet cuz of this problem)

The 1st menu options should works except the last 2 since they are not set yet and the 2nd menu should completly work.

Heres the codes I created for this...

Spoiler:

Code:
<div align="center">
<h1>Music Video Player</h1>
<h5><p class="intro">Enjoy music while you play! You wish to have your favorite music video in our player? Just post in our forum and have any special request suitable for everyone!
</p></h5>

<script type="text/javascript">
function Msg1(){
  document.getElementById('myText').innerHTML = 'Thanks!';
}
function Msg2(){
  document.getElementById('myText').innerHTML = '<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNjUxNTM1MDA3MDMmcHQ9MTI2NTE1MzUwNDY1NiZwPTE4MDMxJmQ9Jmc9MSZvPTQ4NTFkM2E4NjU5OTQ3ZmE4ZmUx/ZjM*MDQ1YzQxNzkw.gif" /><center><p style="visibility:visible;"><object type="application/x-shockwave-flash" data="http://assets.myflashfetish.com/swf/mp3/mp-simp.swf" height="165" width="240" style="width:240px;height:165px"><param name="movie" value="http://assets.myflashfetish.com/swf/mp3/mp-simp.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="salign" value="TL" /><param name="wmode" value="transparent"/><param name="flashvars" value="myid=43079480&path=2010/02/02&mycolor=045c82&mycolor2=f7f6ef&mycolor3=12120e&autoplay=true&rand=1&f=4&vol=100&pat=14&grad=false&ow=240&oh=165"/></object>';
}



function Msg3(){
  document.getElementById('myText').innerHTML = '<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNjcyODAzMDE*MjEmcHQ9MTI2NzI4MDMwNDkzNyZwPTE4MDMxJmQ9Jmc9MSZvPTQ4NTFkM2E4NjU5OTQ3ZmE4ZmUx/ZjM*MDQ1YzQxNzkw.gif" /><center><p style="visibility:visible;"><object type="application/x-shockwave-flash" data="http://assets.myflashfetish.com/swf/mp3/mp-simp.swf" height="165" width="240" style="width:240px;height:165px"><param name="movie" value="http://assets.myflashfetish.com/swf/mp3/mp-simp.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="salign" value="TL" /><param name="wmode" value="transparent"/><param name="flashvars" value="myid=45593611&path=2010/02/27&mycolor=ffffff&mycolor2=270e73&mycolor3=fcfcfc&autoplay=true&rand=1&f=4&vol=100&pat=18&grad=false"/></object>';
}

</script>
<select name=u_month style="font-size:18px;font-family:Georgia;font-weight:bold;color:#000066;background:#EEEEEE;">
<option onclick="Msg1()" value="Show Message 1" />Select a Player</option>
<option onclick="Msg2()" value="Show Message 2" />Future Music Player</option>
<option onclick="Msg3()" value="Show Message 3" />Pop</option>

<option onclick="Msg5()" value="Show Message 5" />Rap/R&B</option>
<option onclick="Msg6()" value="Show Message 6" />Funny</option>
</select>



<script language="javascript">
var popupWindow = null;
function positionedPopup(url,winName,w,h,t,l,scroll){
settings =
'height='+h+',width='+w+',top='+t+',left='+l+',scrollbars='+scroll+',resizable'
popupWindow = window.open(url,winName,settings)
}
</script>

<select name=u_month style="font-size:18px;font-family:Georgia;font-weight:bold;color:#000066;background:#EEEEEE;">
<option value="" selected="selected">Select a Popup Player</option>
<option onclick="positionedPopup('http://freeforallpoker.net/originalmusic.html','myWindow','275','215','600','800','yes');return false"  />Original Player</option>
</select>
<p id="myText"></p>
</div>





Any solutions for those problems ??

No worries if I ask for too much just tell me.

Thanks !!
Zudane

Well, to ask..

1) what version of IE do you have?
2) is javascript enabled in IE?
danm97

I have an old version of IE as I cant download a better version cuz .... erm .. for some reasons lol

And yes Javascript is enable !!

So if I get you right you tested my pages and it works for you with IE ??
Nick(NR)

danm97 wrote:
I have an old version of IE as I cant download a better version cuz .... erm .. for some reasons lol

And yes Javascript is enable !!

So if I get you right you tested my pages and it works for you with IE ??


I'm gonna assume you mean the drop down for the toolbar download? if so works in IE8

older versions of IE do have issues, like IE6 having no png transparency support, web designers curse IE6 and have since refused to tailor their designs for it, giving a popup to encourage viewers to update, now you've said you can't for some reason, I'm gonna assume your not able to get it through the normal windows update, so here's a place you might want to try and give the link to members if they have older IE versions: http://download.cnet.com/Internet...00-2356_4-10013275.html?tag=mncol
danm97

Thanks for the answer and the link sir !!

though I was talking bout this...




Anyway I will ask my moderators if they can use it b4 I put this page on for members !!

Thanks
Nick(NR)

Can confirm, now I'm looking at the right page (my fault) they click and drop, but on selection they do nothing [IE8]
danm97

damnit !!

Thanks for the info.

Are you good enough to look at the javascript and tell me if its the reason why it doesnt work ??

Thanks
Nick(NR)

I'm not massively clued up on javascript, but you are missing function Msg5+6, but that wont by why they aren't working in IE
Zudane

One problem, probably unrelated, is that you have a random tag in there that needs to be removed:

Code:
<td align="center">


signifies the data inside a table - but there is no table there.  Firefox ignores this, IE keeps it in.

And I just had a thought about it as well....

The javascript runs based on it's location, while some browsers might allow things in a different order, IE I don't think does.  What I mean is that you have the javascript code to change an object that isn't created yet.

Similar to telling someone to put apples into a basket before you put the basket down.  Some browsers would look for the basket once things are all in place, but as far as I know IE looks only when it's told to.

Try putting the drop down menus below the movie window, then the window should be loaded before you're trying to change it.
danm97

Cool thanks for the infos !!

Will try it and get you updated !!
danm97

Update...

Sad update though

changed the td tags... was obvious but didnt put my eye on it but nothing change from it.

Tried to put the video players over the dropdown menus which didnt work either.


Updated codes...

Spoiler:

Code:
<p id="myText"></p>

<script type="text/javascript">
function Msg1(){
  document.getElementById('myText').innerHTML = 'Thanks!';
}
function Msg2(){
  document.getElementById('myText').innerHTML = '<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNjUxNTM1MDA3MDMmcHQ9MTI2NTE1MzUwNDY1NiZwPTE4MDMxJmQ9Jmc9MSZvPTQ4NTFkM2E4NjU5OTQ3ZmE4ZmUx/ZjM*MDQ1YzQxNzkw.gif" /><center><p style="visibility:visible;"><object type="application/x-shockwave-flash" data="http://assets.myflashfetish.com/swf/mp3/mp-simp.swf" height="165" width="240" style="width:240px;height:165px"><param name="movie" value="http://assets.myflashfetish.com/swf/mp3/mp-simp.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="salign" value="TL" /><param name="wmode" value="transparent"/><param name="flashvars" value="myid=43079480&path=2010/02/02&mycolor=045c82&mycolor2=f7f6ef&mycolor3=12120e&autoplay=true&rand=1&f=4&vol=100&pat=14&grad=false&ow=240&oh=165"/></object>';
}
function Msg3(){
  document.getElementById('myText').innerHTML = '<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/IMP/CXNID=2000002.0NXC/bT*xJmx*PTEyNjcyODAzMDE*MjEmcHQ9MTI2NzI4MDMwNDkzNyZwPTE4MDMxJmQ9Jmc9MSZvPTQ4NTFkM2E4NjU5OTQ3ZmE4ZmUx/ZjM*MDQ1YzQxNzkw.gif" /><center><p style="visibility:visible;"><object type="application/x-shockwave-flash" data="http://assets.myflashfetish.com/swf/mp3/mp-simp.swf" height="165" width="240" style="width:240px;height:165px"><param name="movie" value="http://assets.myflashfetish.com/swf/mp3/mp-simp.swf" /><param name="quality" value="high" /><param name="scale" value="noscale" /><param name="salign" value="TL" /><param name="wmode" value="transparent"/><param name="flashvars" value="myid=45593611&path=2010/02/27&mycolor=ffffff&mycolor2=270e73&mycolor3=fcfcfc&autoplay=true&rand=1&f=4&vol=100&pat=18&grad=false"/></object>';
}



</script>
<select name=u_month style="font-size:18px;font-family:Georgia;font-weight:bold;color:#000066;background:#EEEEEE;">
<option onclick="Msg1()" value="Show Message 1" />Select a Player</option>
<option onclick="Msg2()" value="Show Message 2" />Future Music Player</option>
<option onclick="Msg3()" value="Show Message 3" />Pop</option>
</select>



<script language="javascript">
var popupWindow = null;
function positionedPopup(url,winName,w,h,t,l,scroll){
settings =
'height='+h+',width='+w+',top='+t+',left='+l+',scrollbars='+scroll+',resizable'
popupWindow = window.open(url,winName,settings)
}
</script>

<select name=u_month style="font-size:18px;font-family:Georgia;font-weight:bold;color:#000066;background:#EEEEEE;">
<option value="" selected="selected">Select a Popup Player</option>
<option onclick="positionedPopup('http://freeforallpoker.net/originalmusic.html','myWindow','275','215','600','800','yes');return false"  />Original Player</option>
</select>
</div>




I it possible that I should put some of the javascript inside the <head> tags ??

If so which part ??

Thanks !!
Zudane

I had noticed it earlier, but I think this could be the problem..

Make sure all tags use " on either side, for example

Code:
height="5"


on each tag you have this:

Code:
<img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0


which should be

Code:
<img style="visibility:hidden;width:0px;height:0px;" border="0" width="0" height="0"




and what could be the main problem is this in the dropdown menu:

Code:
<select name=u_month style=


which should be

Code:
<select name="u_month" style=




Correction
While those still should be corrected, this is your problem:

Code:
<option onclick="Msg2()" value="Show Message 2" />Future Music Player</option>


Ending a tag with /> means that it is closed.

The first tag <option ..> is closed by the second tag </option>.  Tags that don't need a second tag (such as img tags) can be self-closed by doing <img ... />.  Since you have your option tags self closing, they are not considered an option.
danm97

Thanks sir.

Done as told...

Code:
function Msg2(){
  document.getElementById('myText').innerHTML = '<img style="visibility:hidden;width:0px;height:0px;" border="0" width="0" height="0"


Code:
<select name="u_month" style="font-size:18px;font-family:Georgia;font-weight:bold;color:#000066;background:#EEEEEE;">


No success sadly


Ok, got maybe a different solution for what I would like to do ...

Is it possible to have a sized popup window in a html link ??
danm97

Oops just seen your edit brb lol
danm97

So you mean that...
Code:

<option onclick="Msg1()" value="Show Message 1" />Select a Player</option>


should be...

Code:
<option onclick="Msg1()" value="Show Message 1" />Select a Player


??

Kind of weird for me not having a closing tag and the end of the line  

Btw thanks again for your big help on my big problem
Zudane

Well, you have a proper closing, lol, but removed the wrong end.  it should be...

Code:
<option onclick="Msg2()" value="Show Message 2">Future Music Player</option>


This means it stays open until it should be closed.
danm97

lol ok dumb Dan here lol

Fixed it like you suggested, but aint working again well not with my old version of IE.

This thing is realy a pain !!

You have any other suggestion for this problem ??

Or any other suggestion to have a sized popup window in a button ??

Thanks again and again !!
Zudane

Well, if nothing else we are working through some misc errors with the page.

There are 2 html/body tag sets.  There is the main html on the far outside of everything like it should be, but there's also an html and body tag further in.

Code:
<div id="content">
<div id="left">
<div class="entry">
<html>
 
<body>
 
 
<div class="subcontainer">
<div class="rightsub"  align="left">
<img src="http://i625.photobucket.com/albums/tt333/danm97/FFAPnetofficiallogo-2-4-1.png" width="135" height="75">
<h1>Poker Lobby</h1>


Code:
<a href="http://www.submitexpress.com/"><img SRC="http://www.submitexpress.com/submitexpress.gif" BORDER=0 height=31 width=88></a>
</p></marquee>
 
</body>
</html>
</div>
</div>


That's copied straight from the source, so I don't know where you can find it, but any pages that are loaded within yours shouldn't have the html and body tags unless they are in an iframe.
danm97

Thanks...Good try mate...but ..

It is in iframe

Its that part of the codes in this page

Code:
<iframe width="715" scrolling="no" height="510" src="**********************"></iframe>
<div align="right">
<script type="text/javascript"><!--
function opengame(cn) {pipwin=open("","pipwin","scrollbars=no,width=715,height=510").document.write("<html><title>Games</title><frameset rows=* cols=* border=0 frameborder=0><frame noresize scrolling=no src=*************************************></frameset></html>");}
--></script>


(********= the src which I cant show here cuz I dont want ppl to take my poker rooms)

I cant edit what inside that iframe.

Thanks again !! (How much I owe you for all the effort you put to help me ??)
Zudane

I understand that the table is in an iframe, but there is part of it outside the iframe.  It is the upper left area with the rules and moderator list that has the html/body tags.  That entire section has html and body tags around it.
danm97

oooh oops !! Thanks will fix this now !!

Thats the {MYFF.COMPONENT}

Anyway no success as usual !!

Think thats a lost case  
Zudane

Add in a bit to check for IE, and if it is, give a message to use FireFox.

FireFox > IE.  
danm97

lmao !!

I agree !! I simply hate IE !! It give us so much pain !!! lol

I will do some research when I get home tomoz to see if I can use another way for my things !!

Will keep you updated so you know I succeeded (does this word exist ??)(french guy) lol

Btw thanks again for all the help you gave me !!
You could just have said do it yourself we aint doin it for you lol

But it seems I always come up with the worst problems around lol
Nick(NR)

Zudane wrote:
Add in a bit to check for IE, and if it is, give a message to use FireFox.

FireFox > IE.  


Your wrong Zudane, it goes like this k

FireFox > Opera > Safari > Chrome > IE8 > IE6(because firms still use this outdated security risk browser for some stupid reason)

At this stage I just want to point out I don't use chrome nor do I have it installed, so for that to be ahead of IE really says something.
Zudane

Speaking of IE6... apparently there is a funeral for it in Colorado, US today.  http://ie6funeral.com/
Nick(NR)

Zudane wrote:
Speaking of IE6... apparently there is a funeral for it in Colorado, US today.  http://ie6funeral.com/


I support this
danm97

lmao !!

This would be the 1st funeral I would have a big smile on my face lol




As for the solution on my problem !!

I found this link ...

http://www.htmlbasix.com/popup.shtml

You can create a popup window button with it !!

And guess what ?? It works on everybrowser I have.
Not the perfect solution but at least its something I can be satisfied with !!

Hope this link will help others !!
Nick(NR)

Also one for people to note is: http://www.dynamicdrive.com/

also handy for various things
danm97

Thanks for the share Nick !!  

       myfreeforum.org Forum Index -> Web page/template Editing
Page 1 of 1
Create your own free forum | Buy a domain to use with your forum