The Steel Guitar Forum Store 

Post new topic Web Developers, Flash, iPhone, etc.
Reply to topic
Author Topic:  Web Developers, Flash, iPhone, etc.
Drew Howard


From:
48854
Post  Posted 3 Feb 2010 2:26 pm    
Reply with quote

http://www.slate.com/id/2243422/

I’m a web developer when I‘m not gigging and am starting to dumb-down some of the websites I built/maintain as the Flash components, tables, etc. don’t work on i-Phones.
I am thinking of adding either the hated splash page to some sites so surfers can choose between Flash or CSS versions of the site, or a redirect.
Any developers in this here neck of the woods?
http://www.drewhoward.com
View user's profile Send private message Send e-mail Visit poster's website

John Cipriano


From:
San Francisco
Post  Posted 3 Feb 2010 4:38 pm    
Reply with quote

For the page you linked, the only Flash piece I see is the music player, top right. I doubt it will make much of a difference to the overall layout if it doesn't load...not enough to justify a landing page, anyway. What I do recommend for going forward, though, is to start using CSS & divs for layout rather than tables. Some benefits: content can rendered as it loads, content can be broken up logically in narrower windows (if you want it to), and it's just way easier than tables, especially when adding or removing things.

As an example, take the rounded rectangle on your site. One way to do this in CSS would be to have a header div that has the top bar and corners as a background, followed by a body div, which has as a background a repeating image that is a "slice" of the vertical bars, and finally a footer div with the bottom bar and corners as a background (like you've done, but in a div rather than table cell, and as a background image). In the body div you float a few inner divs corresponding to your columns. This will allow the design to stretch with the content, so that you can avoid using iframes.

There are a few good habits that I remember being really helpful as I made the transition to CSS layouts.
- Default style sheets: http://shapeshed.com/journal/default_styles_for_css/
(note especially the part titled "Remove default styles")
- Centering blocks with margin:auto. Avoid center tags, font tags, etc. You will want *all* layout code in a separate file, so that you can change designs without looking at any HTML.
- Declare a docstyle and validate against it. It will prevent weird rendering bugs before you spend hours tracking them down.
- Instead of making images of text, try dynamic font replacement. Cufon is best. I tried out a lot of things (sIFR, using PHP to generate images on the fly) before finding out about it. It's a lifesaver when you have dynamic text that you want in something other than Arial. http://cufon.shoqolate.com/generate/
an example where I used it: http://napolifoodsinc.com/products

I hope this doesn't come off as too critical. What you've done works, and it looks good. But you asked about making designs friendlier to non-standard browsers like iPhones and such, and CSS layouts are exactly how you do that. If you decide to go down this route and have any questions, feel free to send them my way.


Last edited by John Cipriano on 3 Feb 2010 4:44 pm; edited 1 time in total
View user's profile Send private message Send e-mail

Cal Sharp


From:
the farm in Kornfield Kounty, TN
Post  Posted 3 Feb 2010 4:40 pm    
Reply with quote

Flash seems to be on the way out, if you want your web pages to display correctly on mobile devices. Everyone thought Apple was nuts when they stopped putting floppy drives in computers, too, but who uses floppies anymore?

I've got some YouTube Flash videos embedded on some of my sites, and they won't validate. I think the answer lies in HTML5. I certainly wouldn't revert to the old splash page.
_________________
C#
Me: Steel Guitar Madness
Latest ebook: Steel Guitar Insanity
Custom Made Covers for Steel Guitars & Amps at Sharp Covers Nashville
View user's profile Send private message Send e-mail Visit poster's website

Wiz Feinberg


From:
Mid-Michigan, USA
Post  Posted 3 Feb 2010 10:50 pm    
Reply with quote

I have avoided using Flash on any of my websites (except for third parts banner ads). I use external stylesheets, with some on-page special styles for those pages. to override the master styles. I use positioned DIVs, not tables, except where the data is tabular (e.g: copedent charts).

I recommend this approach to others. Also, get rid of FrontPage markup websites and fix them to use standard HTML coding, then validate them at W3C.
_________________
"Wiz" Feinberg, Moderator SGF Computers Forum
Security Consultant
Twitter: @Wizcrafts
Main web pages: Wiztunes Steel Guitar website | Wiz's Security Blog | My Webmaster Services | Wiz's Security Blog
View user's profile Send private message Send e-mail Visit poster's website

Drew Howard


From:
48854
Post  Posted 4 Feb 2010 5:40 am    
Reply with quote

Thank you everyone, this is the crew I'd hoped would reply!!
View user's profile Send private message Send e-mail Visit poster's website

Cal Sharp


From:
the farm in Kornfield Kounty, TN
Post  Posted 4 Feb 2010 5:48 am    
Reply with quote

There are various workarounds to make Flash validate, but it still won't work on an iPad or an iPhone. One source: http://www.v7n.com/forums/coding-forum/23410-html-validation-flash-embed-tag.html
_________________
C#
Me: Steel Guitar Madness
Latest ebook: Steel Guitar Insanity
Custom Made Covers for Steel Guitars & Amps at Sharp Covers Nashville
View user's profile Send private message Send e-mail Visit poster's website

Georg Sørtun


From:
Mandal, Agder, Norway
Post  Posted 4 Feb 2010 6:19 am    
Reply with quote

Have a read...
http://www.opera.com/company/education/curriculum/
...and watch the progress for HTML 5...
http://www.whatwg.org/specs/web-apps/current-work/multipage/
View user's profile Send private message Send e-mail Visit poster's website

John Cipriano


From:
San Francisco
Post  Posted 4 Feb 2010 2:50 pm    
Reply with quote

Wiz is right, sometimes you need some CSS in the page itself. So the best thing to do in that case is to assign the element that needs styling an id (if there's only one) or a class (if there are many), and then style that element in the head tag. Resist the temptation to do, for instance, <a style='color:red'>, if only to preserve your own sanity should you decide to change it to a different color in six months.
View user's profile Send private message Send e-mail

Wiz Feinberg


From:
Mid-Michigan, USA
Post  Posted 4 Feb 2010 11:01 pm    
Reply with quote

I bought a really valuable technical book from Sitepoint, titled: "HTML Utopia - Designing Without Tables Using CSS" by Dan Shafer - ISBN# 0-9579218-2-9. I highly recommend it to aspiring Webmasters.
_________________
"Wiz" Feinberg, Moderator SGF Computers Forum
Security Consultant
Twitter: @Wizcrafts
Main web pages: Wiztunes Steel Guitar website | Wiz's Security Blog | My Webmaster Services | Wiz's Security Blog
View user's profile Send private message Send e-mail Visit poster's website

b0b


From:
Cloverdale, CA, USA
Post  Posted 4 Feb 2010 11:17 pm    
Reply with quote

I've done a lot of work where the CSS is in a separate file, and the entire appearance of the page changes by swapping that file. For inspiration, check out this site: http://www.csszengarden.com
_________________
-𝕓𝕆𝕓- (admin) - Robert P. Lee - Recordings - Breathe - D6th - Video
View user's profile Send private message Visit poster's website

Georg Sørtun


From:
Mandal, Agder, Norway
Post  Posted 5 Feb 2010 3:47 am    
Reply with quote

Wiz, that book is OK but a little old by now...
For aspiring webmasters the SitePoint References is a better starting point - and free.

I'd also recommend membership in the Web Standards Group and the css-d, since there will always pop up questions - like in this thread.

I am a professional web developer, focusing mostly on front-end (design/HTML/CSS) and accessibility (WCAG etc.), and know how important it is for aspiring web masters/whatever to get the right information and understanding early on so they avoid wasting time. Web development is moving pretty fast in some areas...
View user's profile Send private message Send e-mail Visit poster's website

Cal Sharp


From:
the farm in Kornfield Kounty, TN
Post  Posted 5 Feb 2010 7:36 am    
Reply with quote

I've got several books from Sitepoint, in PDF format. Good stuff. They have sales sometimes and you can get some nice deals.
_________________
C#
Me: Steel Guitar Madness
Latest ebook: Steel Guitar Insanity
Custom Made Covers for Steel Guitars & Amps at Sharp Covers Nashville
View user's profile Send private message Send e-mail Visit poster's website


All times are GMT - 8 Hours
Jump to:  

Our Online Catalog
Strings, CDs, instruction,
steel guitars & accessories

www.SteelGuitarShopper.com

Please review our Forum Rules and Policies

Steel Guitar Forum LLC
PO Box 237
Mount Horeb, WI 53572 USA


Click Here to Send a Donation

Email admin@steelguitarforum.com for technical support.


BIAB Styles
Ray Price Shuffles for
Band-in-a-Box

by Jim Baron
HTTP