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.

Coding Forum


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



Reply
Scriptacolous - How Do I Apply The Effect?
Old 07-11-2007, 07:25 PM Scriptacolous - How Do I Apply The Effect?
Junior Talker

Posts: 3
Trades: 0
Hey,
I am new Scriptacolous and I downloaded all the items and set it up. Here's my question:

* How do I make an effect work? :lol:

I am trying this on a DIV. I just want the div (plain w/ text) to "Effect.Appear".
If anyone can help me with that, I'd be delighted. Thanks!

In the head, I have:
Code:
<script type="text/javascript" language="javascript">
    // <![CDATA[
      Effect.Appear('element_id');
    // ]]>
</script>
** what do I put in for "element_id"? The DIV ID?

and on the DIV I have:
Code:
<div id="mainTable" class="scroll" align="left" onClick="new Effect.Appear(document.getElementById('mainTable'))">
Cadillac is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 07-12-2007, 01:01 AM Re: Scriptacolous - How Do I Apply The Effect?
vangogh's Avatar
Post Impressionist

Posts: 10,688
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I haven't worked with Scriptaculous, but I would think you would use the id of the element you want to get the effect when you call the function.

Effect.Appear("mainTable");

That's generally how things would work and I assume it's the same here.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Scriptacolous - How Do I Apply The Effect?
 

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 0.10658 seconds with 12 queries