Starting in August 2010 Flash detection for cellphones, mobile devices, Apple iPhone, and tablets like iPad, will be added to image changers, image sliders and other Flash animations included in Allwebco templates. View Detection Details.
Files that include the detection code:
Detection may, or may not, be included in the "header.js" for the Flash logo. Flash detection is included in the following files:
homeflash.js - may be in the "text-slideshow" folder
changer-XML.js - may be in the "flash" or "XML-Changer" folder
flash-pan.js - in the "flash-pan" folder
AdShow.js - in the "AdShow" folder
header.js - see section below
Checking if this detection is included:
Any template that includes Flash/mobile detection will have a note indicating this near the top of the template "help.html" in the "EDIT FLASH ANIMATION" step.
What is detected:
Detection in the header.js:
The default alternate content in the "header.js" is the text "Welcome". You can edit this text, and test it, by editing the "header.js". There is also an option to display either text or a graphic as the alternate content. Click view visual to view.
Note: The font style of the "text"option is defined in the CSS class "NoFlashTitle" in your ".css" file. You can change the color, style, or size of the text.
How to setup the static image for mobile devices:
See the "INCLUDED DETECT" notes on your template "help.html". It will indicate what image is being displayed as the mobile static image. No other steps are required to setup for mobile devices.
Changing the mobile display image:
Checking the mobile detection:
Testing: All .js files that include detection also include a testing yes/no variable. Edit the "var showflash" to a "no" and open your HTML page to check as if this was a non-Flash browser. Edit the "var showflash" back to "yes" when you are done testing. See "visual" above.
Field Testing: Once your website is setup, the best way to check the image or alternate content that is displayed for mobile devices is using an Apple iPhone, iPod or iPad. Open your website using one of these mobile devices to view your website with Flash detection and the alternate non-Flash content.
Flash detect code example (add to .js file): NOTE: The following is older code. Newer templates use the Adobe detect kit above. The following is an example of the code that may be included in your template. Note that the detection includes a separate section for Apple devices.
Detects specifically for Apple devices and then the browser user agent. If adding into a .js file leave off the top and bottom script and script close tags.