Ok, Why are Frames bad exactly?

  • lesallstar
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 03, 2007
  • Posts: 20
  • Loc: New York City, NY
  • Status: Offline

Post November 6th, 2007, 10:02 pm

Ok....here's another dumb question.



If someone doesn't mind, I need a little clarity on the work-around for the "click to activate" prompt.


<script> myprintln('<p style="text-align:center;" "visibility:visible;">')

myprintln('<object type="application/x-shockwave-flash" data="http://widget-d8.slide.com/widgets/slideticker.swf" height="320" width="426" style="width:426px;height:320px">');

myprintln('<param name="movie" value="http://widget-d8.slide.com/widgets/slideticker.swf" />')

myprintln('<param name="quality" value="high" />')

myprintln('<param name="scale" value="noscale" /><param name="salign" value="l" />')

myprintln('<param name="wmode" value="transparent"/>')

myprintln('<param name="flashvars" value="cy=ms&il=1&channel=504403158289489368&site=widget-d8.slide.com"/>')

myprintln('</object>'); </p></p>
</script>


So.....it doesn't work when I do a preview of the page so its either two things: 1) I broke the player's code when trying to add this (which is easy to fix) so thats probably the reason why it isn't playing (and the click to activate thing is still there)

2) I'm missing something in the code or I just did it incorrectly.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post November 6th, 2007, 10:02 pm

  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Joined: Mar 12, 2007
  • Posts: 6228
  • Loc: South-Africa
  • Status: Offline

Post November 6th, 2007, 10:43 pm

[Dead Link]
Let's leave all our *plum* where it is and go live in the jungle ...
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post November 8th, 2007, 4:06 pm

I'm just going to clear it up a little bit...

Open notepad.

Copy/paste the following code into the notepad.

Quote:
// myprintln.js

function myprintln(s) { document.writeln(s); }


Save the notepad as myprintln.js (or anything that you want.

Then copy/paste the following code in place of your object

Quote:
<script type="javascript">
myprintln('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
myprintln('codebase="http://fpdownload.macromedia.com/pub/shockwave/c abs/flash/swflash.cab#version=8,0,0,0"');
myprintln('id="mars" align="middle" height="130" width="130">');
myprintln('<param name="allowScriptAccess" value="sameDomain">');
myprintln('<param name="movie" value="http://widget-d8.slide.com/widgets/slideticker.swf">');
myprintln('<param name="quality" value="high">');
myprintln('<param name="bgcolor" value="#ffffff">');
myprintln('<embed src="http://widget-d8.slide.com/widgets/slideticker.swf" quality="high" bgcolor="#ffffff"');
myprintln('name="slideticker" allowscriptaccess="sameDomain"');
myprintln('type="application/x-shockwave-flash"');
myprintln('pluginspage="http://www.macromedia.com/go/getflashplayer"' );
myprintln('align="center" height="130" width="130">');
myprintln('</object>');
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/s wflash.cab#version=8,0,0,0"
id="mars" align="middle" height="130" width="130">
<param name="allowScriptAccess" value="sameDomain">
<param name="movie" value="http://widget-d8.slide.com/widgets/slideticker.swf">
<param name="quality" value="high">
<param name="bgcolor" value="#ffffff">
<embed src="http://widget-d8.slide.com/widgets/slideticker.swf" quality="high" bgcolor="#ffffff"
name="slideticker" allowscriptaccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer"
align="center" height="130" width="130">
</object>
</noscript>


Edit the src and bgcolor to the values of what you desire in that code.

In your web site copy/paste the following code into your website's code. (In between <head> and </head>)

Code: [ Select ]
<script src="myprintln.js"></script>


Or whatever you saved your file as in place of "myprintln.js'.

-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

A little explanation of the code...

If you know PHP (at least a little) you would know that the code "echo" prints lines of text into the screen, that is what println is...

println is basically saying "print line (...);" ln in println is line (that's the easy way I can think of explaining it.


(All of the credit goes to righteous_trespasser for the code)
"Bring forth therefore fruits meet for repentance:" Matthew 3:8
  • lesallstar
  • Novice
  • Novice
  • No Avatar
  • Joined: Jan 03, 2007
  • Posts: 20
  • Loc: New York City, NY
  • Status: Offline

Post November 8th, 2007, 6:04 pm

.....i'm reaaaaaalllllyyy startin to like ozzu now. lol Thanks alot Bogey. I kinda figured that but just wasnt really sure (didnt think to even try it that way though).

Thanks alot.
  • Bogey
  • Bogey
  • Genius
  • User avatar
  • Joined: Jul 14, 2005
  • Posts: 8211
  • Loc: USA
  • Status: Offline

Post November 8th, 2007, 6:39 pm

No problem :D
"Bring forth therefore fruits meet for repentance:" Matthew 3:8

Post Information

  • Total Posts in this topic: 20 posts
  • Users browsing this forum: No registered users and 151 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.