View Poll Results: What should I do?

Voters
3. You may not vote on this poll
  • Keep Trying

    0 0%
  • Give Up

    3 100.00%
Results 1 to 9 of 9

Thread: Mix between Outlook Bar and DHTML window?

  1. #1
    Join Date
    Nov 2009
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Exclamation Mix between Outlook Bar and DHTML window?

    1) Script Title: Microsoft Outlook Bar and DHTML Window Widget

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tbar/index.htm, http://www.dynamicdrive.com/dynamici...ndow/index.htm

    3) Describe problem:

    Hi. I'm trying to work on a script that will combine the ms outlook bar code with the one for the dhtml window code. I want it so when you click on one of the buttons in the outlook bar, a dhtml window opens on the main page without it completely redirecting to another site. Does anyone know what I mean? Please help.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I voted give up because Microsoft Outlook Bar is an IE only script, meaning that your page will most likely be inaccessible in most browsers.

    That said, say you are doing something like so with DHTML Window:

    Code:
    function openmypage(){ //Define arbitrary function to run desired DHTML Window widget codes
    ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "windowfiles/external.htm", "#3: Ajax Win Title", "width=450px,height=300px,left=300px,top=100px,resize=1,scrolling=1")
    ajaxwin.onclose=function(){return window.confirm("Close window 3?")} //Run custom code when window is about to be closed
    }
    Then you can place in the menu something like:

    Code:
    OutBarFolder1=new Array(
    "Folder 1",
    "mail.GIF","Dynamic Drive","javascript:openmypage()","window",
    "chat.GIF","What's New","http://dynamicdrive.com/new.htm","window",
    "news.GIF","What's Hot","http://dynamicdrive.com/hot.htm","window",
    "netm.GIF","Link to us!","http://dynamicdrive.com/link.htm","window"
    );
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Nov 2009
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    I voted give up because Microsoft Outlook Bar is an IE only script, meaning that your page will most likely be inaccessible in most browsers.

    That said, say you are doing something like so with DHTML Window:

    Code:
    function openmypage(){ //Define arbitrary function to run desired DHTML Window widget codes
    ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "windowfiles/external.htm", "#3: Ajax Win Title", "width=450px,height=300px,left=300px,top=100px,resize=1,scrolling=1")
    ajaxwin.onclose=function(){return window.confirm("Close window 3?")} //Run custom code when window is about to be closed
    }
    Then you can place in the menu something like:

    Code:
    OutBarFolder1=new Array(
    "Folder 1",
    "mail.GIF","Dynamic Drive","javascript:openmypage()","window",
    "chat.GIF","What's New","http://dynamicdrive.com/new.htm","window",
    "news.GIF","What's Hot","http://dynamicdrive.com/hot.htm","window",
    "netm.GIF","Link to us!","http://dynamicdrive.com/link.htm","window"
    );
    Um, acutally, my code looks a little more like this:

    <a href="#" onClick="ajaxwin=dhtmlwindow.open('google', 'iframe', 'http://www.google.com/', 'Google',

    'width=850px,height=600px,left=0px,top=0px,resize=1,scrolling=1, toolbar=1, location=yes'); return false"><img id="mc" src="googleicon.bmp" style="position: relative" BORDER="0"/>


    I added the drop and drag script to the images that open the dhtml windows.

  4. #4
    Join Date
    Nov 2009
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    I voted give up because Microsoft Outlook Bar is an IE only script, meaning that your page will most likely be inaccessible in most browsers.

    That said, say you are doing something like so with DHTML Window:

    Code:
    function openmypage(){ //Define arbitrary function to run desired DHTML Window widget codes
    ajaxwin=dhtmlwindow.open("ajaxbox", "ajax", "windowfiles/external.htm", "#3: Ajax Win Title", "width=450px,height=300px,left=300px,top=100px,resize=1,scrolling=1")
    ajaxwin.onclose=function(){return window.confirm("Close window 3?")} //Run custom code when window is about to be closed
    }
    Then you can place in the menu something like:

    Code:
    OutBarFolder1=new Array(
    "Folder 1",
    "mail.GIF","Dynamic Drive","javascript:openmypage()","window",
    "chat.GIF","What's New","http://dynamicdrive.com/new.htm","window",
    "news.GIF","What's Hot","http://dynamicdrive.com/hot.htm","window",
    "netm.GIF","Link to us!","http://dynamicdrive.com/link.htm","window"
    );
    It didn't work.

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  6. #6
    Join Date
    Nov 2009
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    Please post a link to the page on your site that contains the problematic code so we can check it out.
    http://www.skyos.webs.com/os.html

  7. #7
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There is no function named openmypage on your /outlookbar/menu.html page.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. #8
    Join Date
    Nov 2009
    Posts
    15
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    There is no function named openmypage on your /outlookbar/menu.html page.
    know. I took it off because it was just displaying the code as a black text on the "desktop".

  9. #9
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Well, because of that, it's 'working'. But there's nothing for it to do, so it throws an error.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •