- What did you expect?
  Create an account
:: Home  ::  Downloads  ::  Your Account  ::  Forums  ::
Google Adsense
  • Home
  • Downloads
  • ExpectationReviews
  • Forums
  • Group29 FAQ
  • MovieReviews
  • OtherReviews
  • Stories Archive
  • Submit News
  • Top 10
  • Topics
  • Web Links
  • New at Group29
    ·Movie Review: Avengers: Infinity War [26]
    ·Movie Review: Incredibles 2 [25]
    ·2018 UCLA vs USC preview
    ·Expectation Review: Avengers: Infinity War [24]
    ·2017 USC vs UCLA preview
    ·Forum Topic: Update your Facebook property
    ·Expectation Review: Star Wars: The Force Awakens [29]
    ·Web Link: WEP Key Converter
    ·Forum Topic: Why does my IPA file get saved as a zip file in IE?
    ·Web Link: BeyondCompare

    ·Rebelscum Breast Cancer Awareness Charity Patch
    ·BBC Interviews J.J. Abrams About Trek And Wars
    ·CEII: Jabba's Palace Reunion - Massive Guest Announcements
    ·Fathead's May the Fourth Be With You!
    ·Star Wars Night With The Tampa Bay Storm Reminder
    ·Stephen Hayford Star Wars Weekends Exclusive Art
    ·ForceCast #251: To Spoil or Not to Spoil
    ·New Timothy Zahn Audio Books Coming
    ·SDCC: Exclusive Black Series Boba Fett With Han In Carbonite Set
    ·Star Wars Art Exposition May 4th

    Hot trends

    Group29 Discussion Board :: View topic - Sample Browser Popup Script
    Log in Register Forum FAQ Memberlist Search
    Ratings, Links, Free Speech and more

    Group29 Discussion Board Forum Index -> Group29 Tech Tips -> Sample Browser Popup Script
    Post new topic  Reply to topic View previous topic :: View next topic 
    Sample Browser Popup Script
    PostPosted: Wed Apr 06, 2005 9:41 am Reply with quote
    Joined: Jun 23, 2004
    Posts: 340


    Here is an example javascript popup you can use in a web page to open another window. A popup box can be used to add controls or a message box to an application. Note that the Javascript method is blocked by the Google Toolbar, Windows XP Service Pack 2 Internet Explorer and Mozilla.

    This example opens a 200x200 fixed square with no controls at the Group29 home page.

        <TITLE>Group29 Test</TITLE>

        <SCRIPT LANGUAGE="JScript">
          function testPopup() {
            open('','myPopup', 'toolbars=no, height=200, width=200');}
      <BODY onclick="testPopup();">
        Click this page and is called.

    More Information on the method can be found in this section of MSDN.

    MSDN Home > MSDN Library > Web Development > HTML and CSS > HTML and DHTML Reference > Methods

    Last edited by BB on Thu Apr 07, 2005 8:56 am; edited 1 time in total
    View user's profile Visit poster's website
    Problem with Request.Cookies Boolean Values ASP.NET VB.NET
    PostPosted: Thu Apr 07, 2005 8:51 am Reply with quote
    Joined: Jun 23, 2004
    Posts: 340


    In Visual Studio.NET ASP.NET web page applications, The Response.Cookies function automatically converts a Boolean value into "True" or "False" string values.

    Private mShowAnonymousUsers As Boolean
    Request.Cookies("RPTUserLog")("ShowAnonymousUsers") = mShowAnonymousUsers

    So when you go to request the cookie value from another page, you will want to convert the value from a string.

    Private mShowAnonymousUsers As Boolean
    mShowAnonymousUsers = CookieBooleanConvert(Request.Cookies("RPTUserLog")("ShowAnonymousUsers"))

    Here is a helper function:

    ' If you store a boolean in a cookie using Response.Cookies, it gets converted
    ' to a string. "True" or "False" (case sensitive)
    Private Function CookieBooleanConvert(ByVal CookieString As String) As Boolean

        Select Case CookieString
            Case "False"
                Return False
            Case "True"
                Return True
            Case Else
                Return False
        End Select
    End Function
    View user's profile Visit poster's website
    Sample Browser Popup Script
      Group29 Discussion Board Forum Index -> Group29 Tech Tips
    You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot vote in polls in this forum
    All times are GMT - 6 Hours  
    Page 1 of 1  

     Post new topic  Reply to topic  

    Powered by phpBB © 2001-2003 phpBB Group
    Theme created by Vjacheslav Trushkin
    Forums ©
    Group29 Productions

    All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest (c) 2006 by Group29 Productions.

    You can syndicate Group29 Productions news with an RSS Feeder using the file backend.php

    PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
    Page Generation: 0.23 Seconds

    :: HeliusGray phpbb2 style by CyberAlien :: PHP-Nuke theme by ::