Note: If my last post gets posted I apologize for the double post, I got the verification e-mails a bit late and I realized by logging in it may not require moderator approval (and if possible I wanted to see if I could get a reply from someone today!)
So I am attempting to put a custom background on my iPhone and iPad websites since my background image is too large to display correctly on the iPhone and iPad as it is (really, apple? android works!) I attempted to simply add in a few more HTTP_USER_AGENT lines by duplicating them - my syntax unfortunately is wrong it seems since I cannot get the desired affect… if anyone has some guidance they could give me it would be VERY well received! I’ve struggled for many hours on this and I’ve accepted that I just need some help at this point if I want to move forward!
[php]<?php
if( Helper::checkNull($article) )
{
echo $article->getMetaTagsHTML();
}
?>
}
if( strpos( $_SERVER[‘HTTP_USER_AGENT’], “Safari” > 0 ) {
?>
}
if( strpos( $_SERVER[‘HTTP_USER_AGENT’], “iPad” > 0 ) {
?>
}
?>[/php]