Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: I am using a site builder - can I use DHTML?

  1. #1
    Join Date
    Apr 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default I am using a site builder - can I use DHTML?

    I am using Trellix web builder and would like to use something from this site. I can not figure out how to add the code. There is a web gem to add HTML but it doesn't work. How can I add to the head/body/etc or do I need to use a different builder?
    Thanks for your help, this has been a lot of fun to play with!!

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Just took a quick look at Trellix. Looks like their 'Advanced Building Tools' is what you need. It will allow you to, among other things, upload files you have developed and tested on your own computer. Now, there may be a way to get 'Trellix Web Express' to add JavaScript to files but it would take an unorthodox approach as it is not meant for that. You say adding HTML does not work, do you mean for scripts or for even plain HTML, like a paragraph or table? If you can add simple HTML, you may be able to insert JavaScript in it.

  3. #3
    Join Date
    Apr 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I can get HTML to work - adding paypal buttons for example.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    OK, try a simple experiment, take this code:
    HTML Code:
    <p><script>document.write('- It Works! -');</script></p>
    and insert it as HTML somewhere in your page and see if the message - It Works! - is displayed at that spot. Don't do this if you have no way of removing it later. If it works, we can at least insert script into the body as this is what we just did. Many scripts go in the body and even many of those that go in the head can go in the body. Let us know what happens.

  5. #5
    Join Date
    Apr 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That worked! Now what?

  6. #6
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    So, experiment worked. Next, try the same thing without the <p></p> tags and put it somewhere that plain text could be inserted. If inserting without the element tag (<p></p>) does not work, we will have to use that strategy with all future attempts. If it works without the tag, the next step is up to you but, I'd suggest trying something simple. Choose a script from the archives that does not say it goes the head. Insert that where you want it and see what happens. If the tag appears to be required, we can still try a simple body script from the archives and just apply the tags to it. Later, if you want to use a script that goes in the head, you can try inserting right at the top of the content (before anything else that gets displayed on your page), that is almost as good as the head and will work for many of these type scripts (this last will probably not work if tags are required). Got all that? Let us know.

  7. #7
    Join Date
    Apr 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    OK, yours works without the <p> things. When I try another, like flying bats, I get nothing. I changed the .gif also, and got nothing. I tried a <p> at the baginning and end (i think) and got nowhere, This is all a little over my head. What is the <p< for?

  8. #8
    Join Date
    Apr 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I just tried a different one and it worked - mostly. I did the Floating images. I did get an image that floated up and down, well a box, I did not insert my own HTML, but the basic thing worked. So, any idea why the flying stuff doesn't work.
    What I am trying to do is get a flock of birds to randomly run across the screen. The art is easy, it's getting the silly stuff to move that is stumping me!
    BTW - than you for your help!!

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    What browser do you use? Bats only work on NS4 and IE4+ (use legend bottom of each script's page, with title of script). Floating Images works on IE4+ and NS6+ (also FF). The floating images is a little complicated, were you able to upload the moveobj.js file? Did you upload and configure images for the script? Let me know.

    Now a word of advice on asking about a particular script. Post the address for it in your message like:

    http://www.dynamicdrive.com/dynamicindex4/flyimage.htm

    for 'Floating images script'. This is according to rules for this forum:
    Warning: Please include a link to the DD script in question in your post. See this thread for the proper posting format for asking a question.
    I know you are new to all this but it makes it so much easier to help if we can click right to the script. Also it would help if:
    PLEASE: Include the URL to your problematic webpage that you want help with.
    so we can see what a problem might be on the page.

  10. #10
    Join Date
    Apr 2005
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Sorry, thanks for the heads up. I am not stuck on a paticular effect, I just want to make my flamingos run across the screen. I have been trying many of the moving scripts. I mean, ideally I would have a custom thing done but I am woefully underskilled and underfunded! So, I am on my own, besides, this is kind of fun!
    My site is seattleflamingo.com, it's pointed to luellamae.biz and has it's won page. However, I've created a test site - luellamae.biz/flamingo - to work on. I don't want to destroy what I've already done!
    I am using a Mac and IE 5.1
    Again, thanks for holding my hand on this.
    Last edited by mingo1; 04-04-2005 at 03:10 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •