Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 06-10-2007, 11:18 AM
Frozen Tears Frozen Tears is offline
 
Join Date: Nov 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Do i need to upload animate.js

Ok, so im designing a feedback form [if you saw my other topic], and i used frontpage. I added some animation effects to it. Heres a code if you want to see it.

Code:
<html>

<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta http-equiv="Content-Language" content="en-us">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>WrestlingFreakz.com Feedback Forum - Created by Stone Cold 3:16</title>
<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation" src="animate.js">
</script>
</head>

<body bgcolor="yellow" style="background-color: #000000" onload="dynAnimation()">
<!-- Script edited by Stone Cold 3:16-->
<hr>
<p align="center" dynamicanimation="fpAnimdropWordFP1" id="fpAnimdropWordFP1" style="position: relative !important; visibility: hidden" language="Javascript1.2"><b><font color="#FFFFFF">WrestlingFreakz
has come a long way from when it started. This form was created to see what you
truly think of WrestlingFreakz.<br>
<br>The only people allowed to read your submissions are qualified WFZ.com
staff, so dont worry about that!</font></b></p>
<form action="MAILTO:stonecold613@gmail.com" method="post" enctype="text/plain">
  <p dynamicanimation="fpAnimdropWordFP2" id="fpAnimdropWordFP2" style="position: relative !important; visibility: hidden" language="Javascript1.2"><strong><font color="#FFFFFF">What kind of comment would you like to send?</font></strong></p>
  <dl>
    <dd><font color="#FFFFFF"><input type="radio" name="MessageType" value="Complaint">Complaint <input type="radio" name="MessageType" value="Problem">Problem
      <input type="radio" checked name="MessageType" value="Suggestion">Suggestion
      <input type="radio" name="MessageType" value="Praise">Praise
       <input type="radio" name="MessageType" value="Information">Information</font> </dd>
  </dl>
  <p dynamicanimation="fpAnimdropWordFP3" id="fpAnimdropWordFP3" style="position: relative !important; visibility: hidden" language="Javascript1.2"><strong><font color="#FFFFFF">What do you wish to contact us about?</font></strong></p>
  <dl>
    <dd><font color="#FFFFFF"><select name="Subject" size=6" multiple>
        <option selected>Site Errors</option>
        <option>Forum Errors</option>
        <option>Staff Complaints</option>
        <option>Support Complaints</option>
        <option>Praise</option>
        <option>(Other)</option>
      </select> Other: <input type="text" size="26" maxlength="256" name="SubjectOther"></font></dd>
  </dl>
  <p dynamicanimation="fpAnimdropWordFP4" id="fpAnimdropWordFP4" style="position: relative !important; visibility: hidden" language="Javascript1.2"><strong><font color="#FFFFFF">Enter your feedback or complaints in the box provided below:</font></strong></p>
  <dl>
    <dd><font color="#FFFFFF"><textarea name="Comments" rows="7" cols="42"></textarea></font></dd>
  </dl>
  <p dynamicanimation="fpAnimdropWordFP5" id="fpAnimdropWordFP5" style="position: relative !important; visibility: hidden" language="Javascript1.2"><strong><font color="#FFFFFF">How can we get back in touch with you? [If we need to]</font></strong></p>
  <dl>
    <dd>
      <table>
        <tr>
          <td><font color="#FFFFFF">Name</font>
          <td><font color="#FFFFFF"><input type="text" size="35" maxlength="256" name="Username">
            </font>
        </tr>
        <tr>
          <td><font color="#FFFFFF">E-Mail</font>
          <td><font color="#FFFFFF"><input type="text" size="35" maxlength="256" name="UserEmail">
            </font>
        </tr>
        <tr>
          <td><font color="#FFFFFF">IM</font>
          <td><font color="#FFFFFF"><input type="text" size="35" maxlength="256" name="UserTel">
            </font>
        </tr>
        <tr>
          <td><font color="#FFFFFF">Other</font>
          <td><font color="#FFFFFF"><input type="text" size="35" maxlength="256" name="UserFAX">
            </font>
        </tr>
      </table>
    </dd>
  </dl>
  <dl>
    <dd><font color="#FFFFFF"><input type="checkbox" name="ContactRequested" value="ContactRequested">
      Check this box if you wish to be replied to.</font></dd>
  </dl>
  <p><font color="#FFFFFF"><input type="submit" value="Submit Comments"> <input type="reset" value="Clear Form"></font></p>
</form>
<hr>
<h5 dynamicanimation="fpAnimdropWordFP6" id="fpAnimdropWordFP6" style="position: relative !important; visibility: hidden" language="Javascript1.2"><font color="#FFFFFF"><b><i><u>Script
edited by - Stone Cold 3:16</u></i></b></font></h5>

<h5 dynamicanimation="fpAnimdropWordFP7" id="fpAnimdropWordFP7" style="position: relative !important; visibility: hidden" language="Javascript1.2"><font color="#FFFFFF"><b><i><u>Script
last edited - June 10, 2007</u></i></b></font></h5>

</body>

</html>
For the animation to work, do i need to upload animate.js to the server? If i do, will this line ensure that the code will work?

Code:
<script language="JavaScript1.2" fptype="dynamicanimation" src="animate.js">
Unless i change it to like animation.js, i have to rename it on the server. but anyways, do i need to upload this page, AND upload animate.js?
Reply With Quote
  #2  
Old 06-10-2007, 11:46 AM
JakeS JakeS is offline
 
Join Date: Feb 2006
Location: United Kingdom
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, because if you don't it may not work due to its going to look for its sources and think... "ok now what? oh damn I got nothing to work with"
Reply With Quote
  #3  
Old 06-10-2007, 11:47 AM
Frozen Tears Frozen Tears is offline
 
Join Date: Nov 2006
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, thats what i thought, needed to confirm it.
Thanks.
Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT. The time now is 11:22 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03750 seconds
  • Memory Usage 2,181KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete