Reputation: 16 Tradesman
- Active Members
- Active Posts:
- 62 (0.05 per day)
- 10-April 10
- Profile Views:
- Last Active:
- Apr 05 2012 04:06 AM
- OS Preference:
- Favorite Browser:
- Favorite Processor:
- Favorite Gaming Platform:
- Who Cares
- Your Car:
- Dream Kudos:
Posts I've Made
Posted 31 Mar 2012You might need to create a page for each link. It depends. What are you clicking to get to the accordian page? Are you hyperlinking from another page, or from the accordian page itself? If it's from the accordian page itself, then you can just use jQuery.
Posted 30 Mar 2012Bummer. Well I'm guessing you have access to the source code. Are there any other pages aside from personal.html? Is all the information you need stored in that one page, and you just need the accordian to be 'clicked' when someone clicks a hyperlink? If it's coming from another page, there's a strong likelihood you'll need server-side code.
I can't just add some JS to the URL? I need to do business lines as well, and I like the accordion.
I could do a page for each line, but I didn't really want to have to.
Posted 30 Mar 2012That won't work at all. You'll need to have a look at jQuery syntax. I'm surprised the website is at that stage and you're unsure about jQuery to be honest. Anyhow, the jQuery page on click() is here.
Posted 30 Mar 2012So are all pages going to be the same, with just the accordian bit expanded for the topic, or is there extra dynamic content above the accordian?
If you are just using the accordian, you could use a jQuery click() event to change which accordian part is expanded.
How do I write the jQuery click() event? Click(3) for the third accordion div?
Posted 17 Dec 2011Google has been monitoring screen sizes for a while and they have a great resource for examining the result of a website's size. It also has great pointers for where you should put content like an appeal or call to action on your site.
Google's Browser Size application.
You can (and should) look at your website within this application and see what percentage of people with browsers can see all of it when you re-size things.
Also remember, there is browser "chrome" that will take up a finite amount of the screen if you have a page that requires scrolling.
Frankly, this is one of those questions that is all about someone transitioning from the complete control one has over one's look with print to the web, where some control is given to the individual preferences set in the client (the browser on someone else's computer). Get used to the fact that not everyone has their entire screen real estate filled with your web page, that people can alter font size, that people can make things larger or smaller than you originally intended, that screen sizes differ and that you cannot control these things. A 980px wide page will fill the available browser space in a maximized viewport on a 1024 screen without dropping a horizontal scrollbar (which is what you want to avoid).
- Member Title:
- D.I.C Head
- Age Unknown
- Birthday Unknown
- Hartford area, CT
- Full Name:
- Mark Hollis
- Years Programming:
- Programming Languages:
- Website URL: