Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3597858
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:10:15+00:00 2026-05-18T20:10:15+00:00

I’m trying to create a short term overlay notification for an app I’m working

  • 0

I’m trying to create a short term overlay notification for an app I’m working on. I also happen to be completely constrained to using YUI as my only script library. The goal is to make a YUI-styled notification appear over the page following a post wherein the form was saved. I would use the simpledialog, but the client doesn’t want to have to interact with the notification, and they don’t want any buttons or controls on it whatsoever, just a featureless, styled box that displays a message.

The effect I’m trying to pull off right now is to produce something similar to jQuery’s showGlobalMessage function. So, are there any YUI controls capable of doing this? and if not, what would be the best way, using self-written js, to produce this effect?

Thanks for the help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T20:10:16+00:00Added an answer on May 18, 2026 at 8:10 pm

    Is the YUI Overlay widget what you’re looking for?

    I pasted a sample page demonstrating how it works. If that’s more or less what you’re looking for, then you should be able to have a function that, upon form submission, activates the overlay. You will have to lookup the API to learn more about it — http://developer.yahoo.com/yui/3/overlay/

    Also, YUI has custom events (but I don’t know much about them): http://developer.yahoo.com/yui/3/event/

    <body>
    <div id="myContent">
        <div class="yui3-widget-hd">Overlay Header</div>
        <div class="yui3-widget-bd">Overlay Body</div>
        <div class="yui3-widget-ft">Overlay Footer</div>
    </div>
    <style>
    #myContent
    {
    background-color:blue;
    color:red;
    }
    </style>
    <div id="parentNode"></div>
    <style>
    #parentNode
    {
    color:red;
    background-color:blue;
    }
    </style>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ornare phare
    
    Etiam porttitor consectetur sagittis. Suspendisse libero lorem, porta ut tincidu
    
    Etiam dapibus urna ut mauris semper varius. Vestibulum auctor tincidunt urna, id
    
    Nam posuere rutrum sem porttitor pretium. Suspendisse pulvinar sodales viverra.
    
    Donec eleifend nisi nec mauris vestibulum a placerat sapien molestie. In tempus
    
    Proin tincidunt feugiat accumsan. Fusce vel sagittis tellus. Quisque vitae conse
    
    Nam vestibulum, ipsum suscipit dignissim feugiat, nisl lectus sodales felis, nec
    
    Quisque venenatis, nulla sit amet sodales semper, turpis nulla viverra lectus, a
    
    Phasellus euismod ligula at lectus interdum a malesuada ante lacinia. Nam venena
    
    Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos
    
    Donec ut eros lorem, eget bibendum neque. Aliquam semper, tortor sed euismod luc
    
    Nullam volutpat adipiscing congue. Aliquam fringilla diam quis quam pharetra tin
    
    Etiam a tortor at justo sodales mattis. Praesent porttitor enim ac sem ultrices
    
    Nam condimentum, ante non adipiscing tristique, magna felis semper arcu, eu temp
    
    Morbi ut enim eget urna ornare elementum ac a ligula. Vestibulum commodo quam se
    <script src="http://yui.yahooapis.com/3.2.0/build/yui/yui-min.js"></script>
    <script>
    YUI().use('overlay', function(Y) {
    var overlay = new Y.Overlay({
        srcNode: '#myContent',
        centered: true
        });
        //overlay.render();
        overlay.render('#parentNode');
    });
    </script>
    </body>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
I am trying to understand how to use SyndicationItem to display feed which is
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
Seemingly simple, but I cannot find anything relevant on the web. What is the
Does anyone know how can I replace this 2 symbol below from the string
this is what i have right now Drawing an RSS feed into the php,
I have just tried to save a simple *.rtf file with some websites and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.