Results 1 to 2 of 2

Thread: Wap And Xhtml

  1. #1
    Super Moderator subzero's Avatar
    Join Date
    Mar 2006
    Location
    Your Screen.
    Posts
    3,971
    Thanks
    442
    Thanked 379 Times in 180 Posts
    Blog Entries
    7
    Rep Power
    0

    Default

    Here today we will show you simple coding the new style!


    The header info with style.css is need in the root folder where this is...
    Code:
    <?php
    
    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Cache-Control: no-cache");
    header("Pragma: no-cache");
    
    echo "<!DOCTYPE html PUBLIC \"-//WAPMASTERZ//DTD XHTML Mobile 1.2//EN\" \"http://wapmasterz.net/dtd/xhtml-mobile12.dtd\">\n";
    echo "<html xmlns=\"http://www.w3.org/1999/xhtml\"> \n";
    
    echo "<head>\n";
    echo "<title>WapMasterz.net Demo</title>\n";
    echo "<link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"images/favicon.ico\" />\n";
    echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"style.css\" />\n";
    echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n";
    echo "<meta name=\"robots\" content=\"index,follow\" />";
    echo "<meta name=\"description\" content=\"WapMasterz.net\" />\n";
    echo "<meta name=\"keywords\" content=\"wapmaster\" />\n";
    echo "<meta name=\"copyright\" content=\"(c) WapMasterz.net\" />\n";
    echo "</head>\n";
    echo "<body>\n";
    Body parts when you add a new line like links etc always do this

    Originally posted by SHOW SIMPLE
    echo "<div><a href=\"http://domain.tld\">YOUR-LINK-NAME</a>
    ";[/quote]

    Here a simple none edited body frame!
    Code:
    echo "<div style=\"text-align: center\">\n";
    
    Place your link here as shown!
    
    echo "</div>";
    When adding text or any other like images also can be placed in the link zone

    Originally posted by SHOW SIMPLE
    echo "<div><img src=\"images/demo.jpg\" alt=\"LOGO DEMO\"/>
    ";[/quote]


    You can edit the body like:

    Code:
    echo "<div style=\"text-align: center\">\n";
    
    IMAGE HERE
    
    echo "</div>";
    
    
    echo "<div style=\"text-align: left\">\n";
    
    LINK HERE!
    
    echo "</div>";
    Also always make sure you have <div>TEXT</div> on ech line or your page wont pass vaild!!


    Lets do the footer end this with this!


    Code:
    echo "<p class=\"sub\">© WapMasterz.net DEMO PAGE</p>\n";
    echo "</body></html>\n";
    exit;
    ?>
    Visit: [Only registered and activated users can see links. Click Here To Register...]
    Visit: [Only registered and activated users can see links. Click Here To Register...]
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

  2. #2
    Super Moderator subzero's Avatar
    Join Date
    Mar 2006
    Location
    Your Screen.
    Posts
    3,971
    Thanks
    442
    Thanked 379 Times in 180 Posts
    Blog Entries
    7
    Rep Power
    0

    Default

    Now the fun part of this trick is

    How can we place marquee to be vaild ?? and also none vaild page !!!! HELP HELP well here you got a code will pass vaild also phones can view them.



    Code:
    echo "
    <div class=\"we\"  style=\"display: -wap-marquee; -wap-marquee-loop: 10; font-size: 9pt;\">
    WapMaster.net did good for me :)
    </div>
    ";

    did you notice that i put in \ in links and images and with images at end i placed / but why ? to close and echo big


    Yeah you can simple echo &#39;<div> <a href=&#39;page.php&#39;>Next</a></div>&#39;; this will not pass you also " to &#39; when info sent to your sid or url it will not show..

    Also save time in echo and "; closing the echo you can do it all in one like

    echo "

    BLAH
    BLAH
    BLAH
    BLAH
    BLAH
    BLAH
    BLAH

    ";

    Save time for faster editing..

    This part what can we do about closing the script where it meant to end at ?> right ??

    simple

    pick one of this to end a script sql or text

    die();
    exit;
    exit();


    just one will be good if you pick die !

    this is fun part about die you can place messages in die!!

    die(" I KILLED YOU AND YOU STILL THINK YA ALIFE ????? PMPL");

    it will show but it will end that line...


    simple style sheet !!

    Code:
    body { 
    font-family : arial, sans-serif; 
    font-size : 12px; 
    color : #ffffff; 
    max-width : 550px; 
    background-color : #000000; 
    margin : 3px auto; 
    } 
    a:link, a:visited { 
    text-decoration : underline; 
    color : #0000ff; 
    } 
    a:active { 
    text-decoration : underline; 
    color : #1e90ff; 
    } 
    a:hover { 
    text-decoration : none; 
    font-size : 14px; 
    color : #a52a2a; 
    position : relative; 
    top : 1px; 
    left : 1px; 
    } 
    .we { 
    background-color : #222; 
    text-decoration : underline; 
    font-weight : bold; 
    color : #ffd700; 
    } 
    .sub { 
    font-weight : bold; 
    color : #ffffff; 
    background-color : #222; 
    text-align : center; 
    }
    Name it style.css in the same folder root with this pages!
    Visit: [Only registered and activated users can see links. Click Here To Register...]
    Visit: [Only registered and activated users can see links. Click Here To Register...]
    _______
    SCRIPTS FOR SALE BY SUBZERO
    Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders.
    FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others...
    _______
    Info & Tips
    php.net
    w3schools.com

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help In Redirecting Pc & Wap Users
    By jvarun2k in forum Coding Forum
    Replies: 12
    Last Post: 06-12-08, 15:09
  2. Xhtml Problem Along Vodafone Wap
    By honkytonkman in forum Scripts Forum
    Replies: 12
    Last Post: 06-09-08, 18:06
  3. ngeo WML / XHTML gallery & Mobile eCards
    By blackhowk in forum Scripts Forum
    Replies: 3
    Last Post: 21-05-07, 13:34

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19