Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Professor Help? Lists....
03-26-2018, 12:23 PM
Post: #1
Professor Help? Lists....
Flo ran across a list code that had the following....


Ever heard of a list that has a code line something like this?

this_page_has_children parent (etc, etc)

Can you enlighten us??
Visit this user's website Find all posts by this user
Quote this message in a reply
03-26-2018, 05:13 PM
Post: #2
RE: Professor Help? Lists....
That page which I had to source to find the urls I wanted, was a Word Press page. It had dropdown menus which had additional dropdown menus from each category in the first dropdowns. But they didn't work very well for me. So that's why I sourced the page and got the surprise of my life! I didn't kno9w that lists can make dropdown menus - nor did I know that lists can get pregnant and have kids! I really must go check this out at W3C soon.
Find all posts by this user
Quote this message in a reply
03-26-2018, 06:03 PM
Post: #3
RE: Professor Help? Lists....
I searched on Bing and there's lots of stuff on it.....javascript, apps, and other coding languages!!
Bet W3C has it all!!
Visit this user's website Find all posts by this user
Quote this message in a reply
03-27-2018, 04:40 PM
Post: #4
RE: Professor Help? Lists....
This looks doable....??

https://stackoverflow.com/questions/3619...-drop-down
Visit this user's website Find all posts by this user
Quote this message in a reply
03-28-2018, 11:40 AM
Post: #5
RE: Professor Help? Lists....
Groan. I don't like JS. So for me,k it's not doable, lol. But do try it and if you meet with success, please post it so we can try how it works.
Find all posts by this user
Quote this message in a reply
03-28-2018, 12:49 PM
Post: #6
RE: Professor Help? Lists....
When you specify a td parameter using css, all the cells in the table specified will have the same value. I.E. color, width, etc. That td is called the "parent" and all subsequent cells are the children.

When writing the Rainbow Text Maker

http://d21c.com/leprofesseur/wtv/rainbowtextmaker.html

I wanted the cells containing the Hue Saturation Brightness Cycles parameters to have different widths. Therefore the parameters for each "child" had to be specified.
Code:
.table1 tr td {
  border-spacing:5px;

  border: 1px solid;
}
.table1 tr td:nth-child(1) {
  width:100px;
  padding:10px;

}
.table1 tr td:nth-child(2) {
  width:50px;
}
.table1 tr td:nth-child(3) {
  width:400px;
  text-align: justify;
  padding-left: 10px;

}

This is the complete css coding for the page

http://d21c.com/leprofesseur/wtv/rainbow.css
Visit this user's website Find all posts by this user
Quote this message in a reply
03-28-2018, 10:20 PM
Post: #7
RE: Professor Help? Lists....
Ok, I get that....makes sense even...!!

You've got CSS down pat!!!!
Visit this user's website Find all posts by this user
Quote this message in a reply
03-29-2018, 10:30 AM
Post: #8
RE: Professor Help? Lists....
Thanks, Professor. It simply struck both my curiosity and my funny bone when I saw that lists can get pregnant and have kids!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)