The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> round tables
zgillman
post Dec 31 2008, 08:18 PM
Post #1


Member
***

Group: Members
Posts: 81
Joined: 23-December 08
From: Clarksville Tennessee
Member No.: 7,389



found a javascript to make tables round..
http://javascript.internet.com/css/dd_roundies.html

this is my js file - http://www.hawk-talk.com/DD_roundies.js

i put these two scripts to activate it in my <head> section
CODE
<script type="text/javascript" src="DD_roundies.js"></script>

<script type="text/javascript">
<!--
  DD_roundies.addRule('.littleDD', 15);+
//-->
</script>


and then this css is in the style section of the <head> section
CODE
.littleDD {
  padding:15px;
  background:#CC9900;
  border:1px solid #333;
}


.littleDD li {
  padding-top:2px;
  padding-bottom:2px;
}


and the <div class="littleDD">

i applied it to the Featured Articles table but it didnt work, can someone find what is wrong?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Dec 31 2008, 08:37 PM
Post #2


WDG Member
********

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



Since this is about JavaScript, I'm moving it to the Client-side Scripting forum.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
zgillman
post Dec 31 2008, 08:40 PM
Post #3


Member
***

Group: Members
Posts: 81
Joined: 23-December 08
From: Clarksville Tennessee
Member No.: 7,389



sorry saw java and posted here... uhh thanks for helping?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Darin McGrew
post Dec 31 2008, 08:51 PM
Post #4


WDG Member
********

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



Java and JavaScript are different things. They have similar names because marketing folks thought it would be a good idea.

JavaScript is a client-side language.

Java can be a server-side language (servlets) or a client-side language (applets), although I've seen it used as a server-side language most of the time.

I'm not really an expert on either though, so I'll wait for someone who knows more about JavaScript to answer your question.

BTW, Happy New Year!
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
zgillman
post Dec 31 2008, 11:11 PM
Post #5


Member
***

Group: Members
Posts: 81
Joined: 23-December 08
From: Clarksville Tennessee
Member No.: 7,389



ah i see.. you too! only 2 more hours for me
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 31 2008, 11:22 PM
Post #6


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

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



Could you post the URL to where you have the HTML that uses the script?

But looking at http://javascript.internet.com/css/dd_roundies.html , I must say this seems terribly convoluted and it doesn't work in IE6. If you google "CSS + rounded corners" you 'll find a lot of CSS only solutions. If you are set on using a table, you may want to rather google "table rounded corners". Rounded coreners on tables can be done with CSS or HTML alone. I don't really see the use of adding JS to the mix.

Here's a list of CSS demos. They will be table-less.
http://css-discuss.incutio.com/?page=RoundedCorners
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
zgillman
post Dec 31 2008, 11:25 PM
Post #7


Member
***

Group: Members
Posts: 81
Joined: 23-December 08
From: Clarksville Tennessee
Member No.: 7,389



http://www.hawk-talk.com/page1 i always forget to do that haha
and i dont want to line up the images because it never comes out correct for me.. so by doing javascript, it is supposed to eliminate alot of the work and just make the table round
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
zgillman
post Dec 31 2008, 11:42 PM
Post #8


Member
***

Group: Members
Posts: 81
Joined: 23-December 08
From: Clarksville Tennessee
Member No.: 7,389



http://www.spiffycorners.com/

there is a good site to help you out.. gives you the css and the html stuff to do it with - now it looks gooooood! smile.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jan 1 2009, 12:14 AM
Post #9


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

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



Yeah, it doesn't need to use images. Even if you use JS it boils down to that JS manipulates HTML and CSS anyway.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

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

 



- Lo-Fi Version Time is now: 19th April 2024 - 04:24 AM