The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> How to Make Embed Code Box
Healthy Shopping Carts
post Oct 2 2007, 04:07 AM
Post #1





Group: Members
Posts: 2
Joined: 2-October 07
Member No.: 3,961



Hi.

I am looking to make those embed code box/forms that you see everywhere, such as here: [mod: snip NSFW link]

By clicking in them the embed object code is automatically highlighted, and ready to be posted on blogs, etc.

I am needing it to be used for images, and swf files.

I have been digging around for hours trying to find out how, but have been very unsuccessful.

Could somebody please offer some help?

Thank you.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Oct 2 2007, 11:34 AM
Post #2


WDG Member
********

Group: Root Admin
Posts: 8,365
Joined: 4-August 06
From: Mountain View, CA
Member No.: 3



Please see the FAQ entry How can I show HTML examples without them being interpreted as part of my document?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Healthy Shopping Carts
post Oct 3 2007, 09:00 PM
Post #3





Group: Members
Posts: 2
Joined: 2-October 07
Member No.: 3,961



QUOTE(Darin McGrew @ Oct 2 2007, 11:34 AM) *


Yeah, I saw read that. Not what I was looking for, but thanks.
smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 4 2007, 02:40 AM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,730
Joined: 9-August 06
Member No.: 6



The box itself? That's nothing special. The site you linked to probably uses TEXTAREA. That's not right, really. You can make a scrolling box with CSS.

CSS:
CODE
#scrollbox     { width: 15em; height; 6em;
                 overflow: auto }


HTML
<div id="scrollbox">
<!-- Put what Darin told you here -->
</div>

http://www.w3.org/TR/CSS2/visufx.html#propdef-overflow
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 01:02 AM