Results 1 to 10 of 10

Thread: JavaScript

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Registered User rumen_33's Avatar
    Join Date: May:2007
    Location: Canada
    Posts: 137

    JavaScript

    .

    , . , . .

    Code:
    <html>
    
    <head> <title>Link</title>
    <style>
    a {
    	color: 6666CC;
    	text-decoration: none;
    }
    
    a:visited {
    	color: 6666CC;
    	text-decoration: none;
    }
    </style>
    </head>
    
    <body>
    <a href="http://google.com" target="_blank">LINK</a>
    </body>
    
    </html>
    !
    Last edited by rumen_33; 9th February 2009 at 10:16.
    |Asus P5K Premium WiFi|Intel C2D E6750|Kingston 2x1GB@667MHz|Seagate 250GB+500GB|Coolmax CP 500W|Asus EN 8800 GTS 320MB|

  2. #2

    Join Date: Apr:2006
    Location:
    Posts: 8,666
    onClick=Maximize() < Maximize() onClick-a <a href...



    window.resizeTo(screen.width,screen.heig ht);
    Last edited by smelkomar; 11th February 2009 at 11:35.

  3. #3
    Registered User rumen_33's Avatar
    Join Date: May:2007
    Location: Canada
    Posts: 137
    . ! , . , . C++ / , JS .
    |Asus P5K Premium WiFi|Intel C2D E6750|Kingston 2x1GB@667MHz|Seagate 250GB+500GB|Coolmax CP 500W|Asus EN 8800 GTS 320MB|

  4. #4

    Join Date: Apr:2006
    Location:
    Posts: 8,666

  5. #5
    Registered User rumen_33's Avatar
    Join Date: May:2007
    Location: Canada
    Posts: 137
    . , . , , resizeTo(), . , (0, 0), maximize() . :
    Code:
    function maximize_screen()
    {
        window.moveTo(0, 0);
        window.resizeTo(screen.availHeight, screen.availWidth);
    }
    , , , , , .

    , .
    |Asus P5K Premium WiFi|Intel C2D E6750|Kingston 2x1GB@667MHz|Seagate 250GB+500GB|Coolmax CP 500W|Asus EN 8800 GTS 320MB|

  6. #6
    hmm BornToDrink's Avatar
    Join Date: Aug:2005
    Location: .
    Posts: 11,573
    .
    , , , .
    :
    Code:
    <script language="JavaScript">
    window.moveTo(0,0);
    window.resizeTo(screen.width,screen.height);
    </script>
    (, "", ).
    Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
    .

  7. #7
    Registered User rumen_33's Avatar
    Join Date: May:2007
    Location: Canada
    Posts: 137
    :
    Code:
    <html>
    
    <head> <title>Link</title>
    <style>
    a {
    	color: 6666CC;
    	text-decoration: none;
    }
    
    a:visited {
    	color: 6666CC;
    	text-decoration: none;
    }
    </style>
    
    <script language="JavaScript">
    function resize()
    {
    	window.moveTo(0,0);
    	window.resizeTo(screen.height,screen.width);
    }
    </script>
    
    </head>
    
    <body>
    <a href="http://google.com" target="_blank" onClick="resize()">LINK</a>
    </body>
    
    </html>
    .
    |Asus P5K Premium WiFi|Intel C2D E6750|Kingston 2x1GB@667MHz|Seagate 250GB+500GB|Coolmax CP 500W|Asus EN 8800 GTS 320MB|

  8. #8
    hmm BornToDrink's Avatar
    Join Date: Aug:2005
    Location: .
    Posts: 11,573
    , .
    JS- , .
    ... , JS- ... target="_maximixed" . , .
    ?
    FF . IE ...
    Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
    .

  9. #9
    Registered User rumen_33's Avatar
    Join Date: May:2007
    Location: Canada
    Posts: 137
    . . IE. position .
    Code:
    <html>
    
    <head> <title>Link</title>
    <style>
    a
    {
    	color: 6666CC;
    	text-decoration: none;
    }
    
    a:visited
    {
    	color: 6666CC;
    	text-decoration: none;
    }
    </style>
    
    <script>
    function openPopUp(url) 
    {
    	var params  = 'width=' + screen.width;
    	params += ', height=' + screen.height;
    	params += ', top=0, left = 0'
    	params += ', fullscreen = yes';
    
    	var newwin = window.open(url,'Window Name Here', params);
    
    	if (window.focus) 
    	{
    		newwin.focus()
    	}
    	return false;
    }
    </script>
    
    </head>
    
    <body>
    <a href="http://google.com" target="_blank" onClick="openPopUp('http://www.google.com')">LINK</a>
    </body>
    
    </html>
    |Asus P5K Premium WiFi|Intel C2D E6750|Kingston 2x1GB@667MHz|Seagate 250GB+500GB|Coolmax CP 500W|Asus EN 8800 GTS 320MB|

  10. #10
    Registered User
    Join Date: Jul:2005
    Location: Sofiq
    Posts: 2,798
    IE IE href onclick. href IE. . newwin , .

Posting Permissions

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

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |