The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
New Posts In A Content Box?
A bit like on inwarez.com , you see how they have got the new posts javascript runnin on the sidebar? Are there any tuts/ guides on how to make this? Ive got the content box just need the JavaScript.
-Cheers Tom |
#2
|
||||
|
||||
Did you try looking in the page source? There is javascript right there in the source code.
|
#3
|
|||
|
|||
yeh bit i have no idea what to do with it , please explain a little.
|
#4
|
||||
|
||||
Hmmm, well, I'm not javascript expert, but I'd start by copying/pasting that javascript along with the ilayer and layer tags into my page (and the corresponding end tags for them). I'd spit that out just prior to spitting out the latest posts, just like he does:
HTML Code:
<div>Latest Posts</div> <div stuff> <div stuff> <script... javascript> several lines </script> <ilayer...> <layer...> all your posts in div tags or similar </ilayer...> </layer...> <script> move javascript </script> <a onmouseover link> <script and move javascript> </script> </div> </div> |
#5
|
|||
|
|||
This is what ive got:
PHP Code:
|
#6
|
||||
|
||||
Did you include the classes from the div tags - nscontainer and nscontent? And also any images that are needed? Also, do you get results - posts - without adding all that new javascript?
|
#7
|
|||
|
|||
This is the full code:
PHP Code:
--------------- Added [DATE]1222969029[/DATE] at [TIME]1222969029[/TIME] --------------- doesnt work... --------------- Added [DATE]1222978390[/DATE] at [TIME]1222978390[/TIME] --------------- Ok that code is working , but there must be some errors because it doesnt work when u post stuff , but only displays old ones. PLEASE HELP |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|