User Profile
Collapse
-
I play on targonor, lvl 24 Dread Knight. Unfortunately I haven't gotten to play as often as I like recently. But the game is amazing nevertheless. -
I've finally come up with what seems acceptable to me. Thank you everyone who replied to this thread. I apologize for being a javascript noob.
here is the result, since I have a patchwork of tutorials and other hearsay in multiple files I will refrain from posting a [ CODE] for each one and just post a link to the testing file:
http://www.tannern.com/4/test4.html
It's still a work in progress and will probably...Leave a comment:
-
Thank you very much clint, I haven't had time to work with it yet but I am excited about actually knowing what is going on in the javascript. jQuery does what I want but this looks like it will be more straight foreward and seem like less of a workaround.
I'm still very new to javascript but have a lot of experience with XHTML CSS and PHP, I didn't even know about ".scrollheight" . Like I said I haven't played with it yet...Leave a comment:
-
Thank you also for replying "MikeFoster " it seems you replied as I was typing my previous message.
I looked around on the links you gave, very impressive. But I think in this situation jQuery will work.Leave a comment:
-
Thank you, this is not what I origionally expected but using "slideDown" does achieve the result I was looking for.
Thank you as well "iam_clint" for replying, although the function "resize" would not work for me because the content loaded into the div is dynamic and I do not know how large the div will need to get to fully display (without excess whitespace) its generated content.
jQuery...Leave a comment:
-
animating div size after content written with .innerHTML
I have a link that load a section of my page into a div, the div height is set to 0px and overflow is set to hidden.
I have had no problems getting the section to load from an external file, I would just like the containing div to animate getting larger after the content loads so it appears as though the content was just hidden by 'overflow: hidden' the entire time.
Is this possible without knowing the final div height...
No activity results to display
Show More
Leave a comment: