Welcome to Geeklog, Anonymous Friday, December 27 2024 @ 11:24 am EST

Geeklog Forums

PHP Blocks Question


Anonymous

Anonymous
I would like to include a flash swf file in a block: I think the proper way to do this is to add a php function to the lib-custom.php file correct? so I would have function phpblock_myfunction() { $display .= "HTML Code to include a flash object"; return $display; } Does anyone know if the above code will work properly as outlined, or do I need to do anything else? Is there a simpler way without having to code a custom function? Thanks
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Why not use a "normal" block and put the HTML in there? bye, Dirk
 Quote

Status: offline

Chalkhillian

Forum User
Chatty
Registered: 09/23/02
Posts: 67
Blaine uses a flash viewer to display jpegs in 4Images and I use one in the Geekary to do the same. The standard flash player lets you zoom and pan, while the one that Blaine released at his site puts a little applet to control zoom. I'll dig up a snippet for you to use and post it later.
 Quote

Anonymous

Anonymous
Wow, I didnt lnow I could do that... duhh (I pulled a homer simpson) lol Thanks Dirk
 Quote

Anonymous

Anonymous
Hi, I'm actually a flash Geek (no pun intended), so I can reproduce the Zoomable image slider without a problem so there is no need for you to provide the flash embed code. Thanks, My question was geared more towards the custom function and what I needed for it. Now that I can use a normal block, I think I'm all set. Thanks!
 Quote

All times are EST. The time is now 11:24 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content