tchoy Posted November 3, 2009 Report Share Posted November 3, 2009 Home About OHKA Events Gallery Join OHKA About OHKA Who We Are We are dedicated to being a premier association in Central New Jersey which provides a gathering place for social, recreational, and business activities for members and their families in a distinctive Asian atmosphere. In achieving our mission, we will: Maintain a commitment to an Asian identity Maintain an association environment which is open and hospitable Maintain a fiscal responsibility Project a positive image within our community Be responsive to our members OHKA Board for the term of 2008-2010 President Josephine Yan Vice President Clement Kwok Secretary Tina Choy Treasurer Pius Chu Program Director Frank Lau Public Affairs Lily Chu Nelson Yan Youth & Charity Director Lezlee Ho Art Director Betty Yeung By-Laws Click here to view the by-laws of the Overseas Hong Kong Association. Contact Us Overseas Hong Kong Association (OHKA) P.O. Box 254 3124 Highway 27 Franklin Park, NJ 08823 If you have any questions regarding OHKA, please contact us at ohka.email@yahoo.com. More Links Who We Are Our Board By-Laws Contact Us Copyright ©2001 Overseas Hong Kong Association. All rights reserved. Quote Link to comment Share on other sites More sharing options...
Andrea Posted November 3, 2009 Report Share Posted November 3, 2009 Could you load this up somewhere and give us a link? Quote Link to comment Share on other sites More sharing options...
tchoy Posted November 3, 2009 Author Report Share Posted November 3, 2009 it is loaded, try www.ohka.org/index-new.html and then click about OHKA menu and there are submenus on the left hand side, the three links below Who We Are are not working Quote Link to comment Share on other sites More sharing options...
Andrea Posted November 3, 2009 Report Share Posted November 3, 2009 Where is your doctype? (Use HTML 4.01 strict) Who We Are Our Board By-Laws (Note the typo) Contact Us What are you trying to achieve with the green parts? The links actually work for me (minus the one with the typo), but they lead to the page you're already on, so nothing changes. Quote Link to comment Share on other sites More sharing options...
tchoy Posted November 4, 2009 Author Report Share Posted November 4, 2009 i have these contents hidden for the green parts in the css code because if they are not, the page you are on, shows all this contents underneath each other. #about-board { display: none; } #about-bylaws { display: none; } #about-contact { display: none; } When you click on the links, it's suppose to bring up other content. See primary content in the html with the nested divs below - About OHKA Who We Are We are dedicated to being a premier association in Central New Jersey which provides a gathering place for social, recreational, and business activities for members and their families in a distinctive Asian atmosphere. In achieving our mission, we will: Maintain a commitment to an Asian identity Maintain an association environment which is open and hospitable Maintain a fiscal responsibility Project a positive image within our community Be responsive to our members OHKA Board for the term of 2008-2010 President Josephine Yan Vice President Clement Kwok Secretary Tina Choy Treasurer Pius Chu Program Director Frank Lau Public Affairs Lily Chu Nelson Yan Youth & Charity Director Lezlee Ho Art Director Betty Yeung By-Laws Click here to view the by-laws of the Overseas Hong Kong Association. Contact Us Overseas Hong Kong Association (OHKA) P.O. Box 254 3124 Highway 27 Franklin Park, NJ 08823 If you have any questions regarding OHKA, please contact us at ohka.email@yahoo.com. Quote Link to comment Share on other sites More sharing options...
Andrea Posted November 4, 2009 Report Share Posted November 4, 2009 There still is no doctype. And I'm still not clear what Our Board is supposed to be. The '#' is generally used in your html as a bookmark --- or in your CSS as an ID. What you have there, makes no sense to me -never seen anything like it before. If you have a bookmark on a page and want to go to it, then you'd have to write the link like this: Our Board If you want a special style for this part, then it need to look htis way: Our Board -- and your CSS #about-board {what: ever;} And the CSS you have there - display: none - means DO NOT display, so I"m not sure how clicking is supposed to not not-display. Are you trying something frame-like here, where you want to just change a certain part of a page? BTW - there should NOT be a space between mailto: and the email address. - Quote Link to comment Share on other sites More sharing options...
tchoy Posted November 4, 2009 Author Report Share Posted November 4, 2009 We have an older files on our website now. I am trying to re-design it using css as it shows much better. I have never seen a doctype in any of the files. I had seen some code like this from another website: but they were using a .php file instead of html. Our Board In the css I have display: none because the page I want to show is the first content and when I click on Our Board, the second link I want another content to show, otherwise they all show and that's not what I want. So in the css: #about-board {what: ever;} after a display:none, how do I get it to display or how do I hide it until the link is clicked? The mailto: has a space because it only show icon and we need space there. Quote Link to comment Share on other sites More sharing options...
Andrea Posted November 4, 2009 Report Share Posted November 4, 2009 Just because there is no doctype on that site now does not mean that a doctype isn't part of a properly coded webpage. --- is a link to a bookmark (a specific place inside a page). It has nothing to do with CSS (or PHP) -- and it's not what you have on your site right now. You have the #about-board OUTSIDE the quotes. You could set the display none as the default, and then use a hover or link CSS to display - but that's really not how websites work - at least none of the ones I've ever studied. What's wrong with just creating a new page for the new content? Quote Link to comment Share on other sites More sharing options...
Andrea Posted November 4, 2009 Report Share Posted November 4, 2009 The mailto: has a space because it only show icon and we need space there. I'm talking about the %20 indicates a space, and there should not be one. Quote Link to comment Share on other sites More sharing options...
tchoy Posted November 5, 2009 Author Report Share Posted November 5, 2009 creating a page for new content would just create more files. i believe that the code i was using, they may be using a .js in conjunction with that. If you go to http://www.stevens.edu/csa and then go to about csa, it has those links on the side and when you click on them, it brings up other content, but in the url, does not show the #. Look at their code through view source and you will see what I am talking about. Quote Link to comment Share on other sites More sharing options...
Andrea Posted November 6, 2009 Report Share Posted November 6, 2009 It looks like the JavaScript is what runs this thing - just keep in mind if someone has JavaScript turned off, it won't work. And --- there's nothing wrong with one file for each page - that's how websites work. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.