Welcome Guest [Log In] [Register]
Search Members Calendar | Rules ZB Code Index IF Code Index
ZBCode
  • Navigation
  • ZBCode
  • Coding Resources
  • Zetaboards Modifications
  • [SC] Preview in Fast Reply
Hey, welcome to ZBCode, the premier coding forum for ZB. Here you fill find some of the best Invisionfree and Zetaboards Codes on the network! Unfortunately, you're sorta hovering around in guest mode at the moment; why not join in on the fun? Register an account and you can start accessing the wealth of resources we have available here. Enjoy your stay at ZBCode, and remember to tell all your friends about us; the more members, the more codes available. ;)

Interested in joining? Click here.


If you are already a member of ZBCode, feel free to login right here:

Username:   Password:
Locked Topic
  • Pages:
  • 1
  • 2
  • 3
[SC] Preview in Fast Reply
Tweet Topic Started: Aug 25 2008, 10:00 PM (2,499 Views)
HolySavior Aug 25 2008, 10:00 PM Post #1
Member Avatar
Modifying The World Around You

Posts:
2,488
Group:
Distinguished Coder
Member
#7
Joined:
Jul 2, 2008
Coding language
Everything
Code:
 

<script type="text/javascript">
//created by Holysavior of ZBCode and Javascriptin.com
$("#fast-reply dd").attr("id","c_post").append("<button id='preview' name='preview' type='button' onclick='Preview()' style='margin-right:5px;'>Preview</button>");
$("#preview").after($("#fast-reply button:contains('Full Reply Screen')"));
</script>



This will add a preview button and run the nice ZB preview function that you get when you use full reply or posting a new topic!

Just place the code in the second to last box of the Board Template section.
Offline Profile Goto Top
 
rikin Aug 26 2008, 06:30 AM Post #2


Posts:
1
Group:
Member
Member
#682
Joined:
Aug 21, 2008
Coding language
Ruby on Rails
Great Code!
Offline Profile Goto Top
 
Ziggar Aug 28 2008, 08:33 AM Post #3


Posts:
3
Group:
Member
Member
#245
Joined:
Jul 23, 2008
Coding language
ASP.Net
Using IE clicking on preview takes you straight to the full reply screen

using FF3 it works fine
Offline Profile Goto Top
 
HolySavior Aug 28 2008, 12:04 PM Post #4
Member Avatar
Modifying The World Around You

Posts:
2,488
Group:
Distinguished Coder
Member
#7
Joined:
Jul 2, 2008
Coding language
Everything
IE8 it works fine.
Offline Profile Goto Top
 
Ziggar Aug 28 2008, 12:34 PM Post #5


Posts:
3
Group:
Member
Member
#245
Joined:
Jul 23, 2008
Coding language
ASP.Net
but in other versions on other people machines it doesnt

is that the end of your support for this?
it works for you and thats it ?
Offline Profile Goto Top
 
HolySavior Aug 28 2008, 05:36 PM Post #6
Member Avatar
Modifying The World Around You

Posts:
2,488
Group:
Distinguished Coder
Member
#7
Joined:
Jul 2, 2008
Coding language
Everything
well kind of hard to support it when it works for most people in all browsers.
all i can say is maybe another code is conflicting with it.
Offline Profile Goto Top
 
Tac Oct 3 2008, 07:06 AM Post #7
Member Avatar


Posts:
25
Group:
Member
Member
#1,077
Joined:
Sep 29, 2008
Coding language
HTML/CSS
where does this code go?
Offline Profile Goto Top
 
Kotton Dec 1 2008, 05:18 AM Post #8

Posts:
60
Group:
Banned
Member
#1,668
Joined:
Dec 1, 2008
board template - nicely done! thank you-
Edited by Kotton, Dec 1 2008, 05:19 AM.
Offline Profile Goto Top
 
PIWYRCOM Dec 5 2008, 01:21 PM Post #9
Member Avatar
PrideInWhatYouRide

Posts:
368
Group:
Member
Member
#53
Joined:
Jul 17, 2008
Coding language
None
Works great in Chrome !
» TEST FORUM »
FIND IT HERE !
Spoiler: click to toggle

→ Infinite Results (themes)
→ ZBThemeZone (themes)

→ Big Boards (codes/themes)
→ ZBCodes (codes/themes)
→ The Coding Zone (codes/themes)

→ Code Index ('Official')
→ ZetaDoc's ('Official - How To Info')

Posted Image

Offline Profile Goto Top
 
Nivexonix Feb 6 2009, 09:45 PM Post #10
Member Avatar
only one, only you

Posts:
560
Group:
Former Staff
Member
#47
Joined:
Jul 17, 2008
Coding language
HTML/CSS
I'm using it right now, and it's really helpful.

One minor issue though. When I have this and the smilies box in the fast reply area, the spacing becomes messed up. Here is preview of what I mean.
Posted Image
Offline Profile Goto Top
 
1 user reading this topic (1 Guest and 0 Anonymous)
Go to Next Page
« Previous Topic · Zetaboards Modifications · Next Topic »
Locked Topic
  • Pages:
  • 1
  • 2
  • 3

Track Topic · E-mail Topic Time: 7:41 PM Jul 10
Hosted for free by ZetaBoards · Privacy Policy