Advanced Search      

Go Back   Final Fantasy Net - Forum > Neo Final Fantasy Net > Forum Issues > Site Suggestions
Reply
 
Thread Tools Search this Thread Display Modes
  #11  
Old 11-24-2007, 09:16 PM
Weed Offline:
Newbie Poster
 
Join Date: Nov 2007
Posts: 9
Weed is on a distinguished road
Default

KK Thanks man (^ ^,)
Ill be in touch.
Now ima go and find
Show/Hide Video

EDIT: I have BBcode for youtube video or google video, and i use the code and i make it in spoiler.
so i can do show hide video in-forums.

Content Hidden!

Last edited by Weed : 11-24-2007 at 09:51 PM.
Reply With Quote
  #12  
Old 11-24-2007, 09:28 PM
DragoonKain's Avatar
DragoonKain Offline:
Administrator
 
Join Date: Jun 2006
Location: United States
Posts: 650
DragoonKain is on a distinguished road
Send a message via AIM to DragoonKain Send a message via MSN to DragoonKain Send a message via Yahoo to DragoonKain
Default

Okay, it's done. It's horribly code inefficient, it would be best to have these classes in a style sheet and such. Having multiple instances of these on a page is bad.

Anywho, the url('') under .spoilershow and .spoilerhide would need to be changed for whatever images you want to use. Also, the width and height specifications need to match that of the image that you want to use.

Code:
<style type="text/css"> .spoiler { margin: 0px; padding: 0px; width: 23px; height: 20px; font-size: 10px; text-indent: -1000em; border: 0; cursor: pointer; /* hand-shaped cursor */ cursor: hand; /* for IE 5.x */ } .spoilershow { background: transparent url('http://www.ffnet.org/forum/firmament/statusicon/forum_new.gif') no-repeat center top; } .spoilerhide { background: transparent url('http://www.ffnet.org/forum/firmament/statusicon/forum_old.gif') no-repeat center top; } </style> <div style="margin: 5px;"> <div class="smallfont" style="margin-bottom: 2px;"> <b>Content Hidden!</b> <input value="Show" class="spoiler spoilershow" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline') { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.className='spoiler spoilershow'; } else { this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.className='spoiler spoilerhide'; }" type="button"> </div> <div class="alt2" style="border: 1px inset; padding: 6px;"> <div class="spoiler" style="display: none;">{param}</div> </div> </div>

See the post above to see it in use. Try [bspoiler] to try it out yourself.
__________________

Reply With Quote
  #13  
Old 11-26-2007, 01:25 AM
Weed Offline:
Newbie Poster
 
Join Date: Nov 2007
Posts: 9
Weed is on a distinguished road
Default

So hmm dow i get this to work?
Do i need to make css style sheets?
Cuz i used ur code and it dint work.

Thanks,
Weed


[Edit]

i changed some of the code, thought I'd share it.

Content Hidden!


[/edit]

Last edited by Weed : 11-26-2007 at 02:16 AM.
Reply With Quote
  #14  
Old 11-26-2007, 02:34 AM
DragoonKain's Avatar
DragoonKain Offline:
Administrator
 
Join Date: Jun 2006
Location: United States
Posts: 650
DragoonKain is on a distinguished road
Send a message via AIM to DragoonKain Send a message via MSN to DragoonKain Send a message via Yahoo to DragoonKain
Default

You shouldn't need to change anything other than what I said to change. I'd have to see what you tried using.
__________________

Reply With Quote
  #15  
Old 12-02-2007, 09:49 PM
Weed Offline:
Newbie Poster
 
Join Date: Nov 2007
Posts: 9
Weed is on a distinguished road
Default

the code i changed up here is cool. there is no borders, like the square around the text, it looks cool.

i just changed the image links, and it wudnt work.

i used your code, it dint work either.
do i need css style sheets?
Reply With Quote
  #16  
Old 12-02-2007, 10:27 PM
DragoonKain's Avatar
DragoonKain Offline:
Administrator
 
Join Date: Jun 2006
Location: United States
Posts: 650
DragoonKain is on a distinguished road
Send a message via AIM to DragoonKain Send a message via MSN to DragoonKain Send a message via Yahoo to DragoonKain
Default

No, the style in my code is self contained. I would need to see your code in order to help with your problem, so that I could test it on my end. Please ensure that the url() for the image you're putting it in is correct, and is surrounded by single quotes or double quotes. Also, ensure that you are giving the correct (full) path. Try entering in the URL for the images in your browser and see if your browser properly locates the image.

-Kain
__________________

Reply With Quote
  #17  
Old 12-03-2007, 04:21 PM
Weed Offline:
Newbie Poster
 
Join Date: Nov 2007
Posts: 9
Weed is on a distinguished road
Default

i used you gave me, and it dint work either.
Reply With Quote
  #18  
Old 12-03-2007, 10:56 PM
DragoonKain's Avatar
DragoonKain Offline:
Administrator
 
Join Date: Jun 2006
Location: United States
Posts: 650
DragoonKain is on a distinguished road
Send a message via AIM to DragoonKain Send a message via MSN to DragoonKain Send a message via Yahoo to DragoonKain
Default

Strange, it works here but not there. Not sure what to tell ya. It should work though, all of the CSS is self-contained.
__________________

Reply With Quote
  #19  
Old 12-10-2007, 02:27 AM
Weed Offline:
Newbie Poster
 
Join Date: Nov 2007
Posts: 9
Weed is on a distinguished road
Default

Ah, ill try and find a fix >.<
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump



All times are GMT. The time now is 05:18 PM.

vbulletin skin developed by: eXtremepixels

eXTReMe Tracker
Revolved.net | Game | Kingdom Hearts
Revolved.net Topsite

SEO by vBSEO 2.4.5