Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Community > Feedback > Code tag broken?

Code tag broken?
Thread Tools
Chuckit
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Feb 11, 2007, 02:32 AM
 
I was just trying to show some example code, and the code tags just showed up literally in the body of my post. Did the code tags get taken away?
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Peter
Addicted to MacNN
Join Date: Oct 2002
Location: England | San Francisco
Status: Offline
Reply With Quote
Feb 11, 2007, 12:22 PM
 
Code:
<%= button_to 'Add to Cart', :action => :add_to_cart, :id => product %> # this generates a submit button: # <form method="post" action="/store/add_to_cart/3" class="button-to"> # <div><input type="submit" value="Add to Cart" /></div></form> # note id = 3 in this case # the following has the same effect as above but w/ image submit button: <%= form_tag :action => :add_to_cart, :id => product %> <%= image_submit_tag product.image_url, :class => 'image-submit' %> <%= end_form_tag %> # <form action="/store/add_to_cart/3" method="post"> # <input class="image-submit" src="/images/auto.jpg?1156046942" type="image" /> # </form>
we don't have time to stop for gas
     
Peter
Addicted to MacNN
Join Date: Oct 2002
Location: England | San Francisco
Status: Offline
Reply With Quote
Feb 11, 2007, 12:22 PM
 
apparently so.
we don't have time to stop for gas
     
Diggory Laycock
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Feb 28, 2007, 07:35 AM
 
The AppleScript one seems broken as well.

http://forums.macnn.com/misc.php?do=bbcode#applescript

[edit] - or rather it works, but the samples on the page don't
( Last edited by Diggory Laycock; Feb 28, 2007 at 07:41 AM. )
     
   
Thread Tools
 
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Top
Privacy Policy
All times are GMT -4. The time now is 10:40 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,