javascript写定义confirm的样式

<html>
<head>
<script>
function confirm(obj,url)
{
var odiv=document.createElement(‘div’);
var oaa=document.getElementById(‘aa’);
odiv.id=”odiv”;
odiv.style.height=80+’px’;
odiv.style.width=150+’px’;
odiv.style.margin=0+’px’;
odiv.style.left=’50%’;
odiv.style.top=’30%’;
odiv.style.padding=0+’px’;
odiv.innerHTML=”<p style=’margin:0; padding:0; border-bottom:1px solid #fff; font-size:12px;  width:99%; height:auto; margin:0 auto; text-align:left;’>小波提醒您:</p><p style=’margin:0; padding:0; width:99%; font-size:16px; height:auto; margin:0 auto; text-align:center;’>”+obj+”</p>”+”<dd id=’queding’ style=’width:auto; height:30px; margin:0;padding:0; cursor:pointer; float:left; background:green; color:red; margin-top:10px; line-height:30px;’>确定</dd><dd id=’quxiao’ style=’width:auto; cursor:pointer; height:30px; margin:0;padding:0; float:right; background:green; color:#000; margin-top:10px; line-height:30px;’>取消</dd>”;
odiv.style.background=”#ccc”;
odiv.style.position=”absolute”;
odiv.style.Zindex=”99999″;
oaa.appendChild(odiv);
var transbox=document.getElementById(‘transbox’);
transbox.id=”transbox”;
transbox.style.display=”block”;
document.getElementById(‘quxiao’).onclick=function()
{
oaa.removeChild(odiv);
transbox.style.display=”none”;
return false;
}
document.getElementById(‘queding’).onclick=function()
{
window.location.href=url;
return true;
}
}
</script>
</head>
<body>
<div id=’transbox’ style=’position:absolute;left:0px; top:0px; display:none;width: 100%;height:100%; margin: 0 0px;background-color: #000;filter:alpha(opacity=30);opacity: 0.5;-moz-opacity:0.5;’></div>
<div id=”aa”></div>
<a href=”javascript:;;” onclick=”return confirm(‘11111′,’http://www.baidu.com/’);”>1111</a>
</body>
</html>

javascript写定义confirm的样式》有58个想法

  1. I will right away snatch your rss as I can’t in finding your e-mail subscription link or newsletter service.
    Do you’ve any? Please let me realize in order that I may just subscribe.
    Thanks.

  2. So you can use the app to search for a YouTube partner’s
    film (or your son’s championship higher college basketball game…), categorize it and thus develop the
    biggest video library of complete length movies ever!

  3. If some one wishes expert view regarding blogging and
    site-building afterward i recommend him/her to pay a visit this web site, Keep up the good job.

  4. Good day! I know this is kinda off topic but I was wondering if you knew where I could locate a captcha plugin for my comment form?
    I’m using the same blog platform as yours
    and I’m having problems finding one? Thanks a lot!

  5. Move ahead n construct up your good name again….simply stop playing…life will change….be sturdy
    my pal…u can do it…god bless!

  6. Hi, I think your website might be having browser compatibility issues.

    When I look at your blog in Chrome, it looks fine
    but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up!
    Other then that, fantastic blog!

  7. After checking out a handful of the blog posts
    on your web page, I really like your way of writing a
    blog. I saved as a favorite it to my bookmark website list and will be checking back soon. Please check out my web site too and let me know how you
    feel.

  8. Howdy just wanted to give you a brief heads up and let you know a few of the pictures aren’t loading
    properly. I’m not sure why but I think its a linking issue.

    I’ve tried it in two different internet browsers and both show the same results.

  9. Write more, thats all I have to say. Literally, it seems
    as though you relied on the video to make your point. You definitely
    know what youre talking about, why throw away your intelligence on just posting videos
    to your site when you could be giving us something enlightening to
    read?

  10. Then, at the end of each month, everyones’ syndicate ID is entered into a monthly Euro – Millions Jackpot Club draw
    and one lotto syndicate is awarded the entire pot, paying its members their equal share.
    Today the job of a medical assistant is expected to grow much faster.
    And, it goes without saying that storage is a problem which exists in almost every kitchen.

  11. As a substitute, you’re fortunate to have such a loyal buddy!
    and that he was related to the CIA, and that the invasion of Afghanistan had been planned months before The Province of Guanacaste,
    which is adjoining to Nicaragua, was as soon as more intently
    aligned with Nicaragua and has a history and culture of it is own with a particular
    holiday to celebrate the day that the residents selected to
    be part of Costa Rica versus Nicaragua.. While the subtleties of the Guanacastican ways would not be apparent to us as outsiders, it is apparent to Costa Ricans, who by
    the way name themselves Ticos” (or within the specific case of a
    lady or lady, Tica”). so the green mild was the Sad huh?

  12. You possibly can checkout your native tv listings, search on google
    and extra to take a look at what actual estate reveals
    you might have available to you in your area.

  13. What i do not realize is in reality how you
    are no longer actually much more well-favored than you might be now.
    You are very intelligent. You know thus significantly when it comes to this topic, produced me for my part believe it from numerous numerous angles.
    Its like women and men aren’t fascinated unless it
    is one thing to accomplish with Lady gaga! Your personal stuffs excellent.
    All the time take care of it up!

  14. I do believe all the ideas you’ve presented in your post.
    They are really convincing and will definitely work.
    Nonetheless, the posts are too brief for starters. Could you please prolong them a little from next
    time? Thank you for the post.

  15. What i don’t realize is in truth how you’re no longer actually a lot more well-appreciated than you may be
    right now. You’re so intelligent. You realize therefore significantly in terms of this subject, made me
    personally imagine it from numerous numerous angles. Its
    like women and men are not involved until it’s one thing to accomplish with Lady gaga!
    Your individual stuffs excellent. All the time care for it up!

  16. Hello I am so glad I found your webpage, I really found you by
    error, while I was browsing on Aol for something else, Nonetheless I am here now and would just like to say thanks a lot for
    a marvelous post and a all round entertaining blog (I also love the theme/design), I don’t have time to browse it all
    at the minute but I have saved it and also added in your RSS feeds, so when I have time I will be back to read more,
    Please do keep up the awesome work.

  17. Se puede acelerar ѕu teléfono Android a través dᥱ lɑ desactivación Ԁel empleо dde ⅼos widyets eеn ⅼa pantalla
    principal ү fondos ɗe pantalla en vivo.

  18. When I initially left a comment I appear to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I receive four
    emails with the same comment. There has to be a means you are able to remove me from that service?
    Appreciate it!

  19. Greetings from California! I’m bored to tears at work so I decided to check out
    your website on my iphone during lunch break. I enjoy the information you present here and
    can’t wait to take a look when I get home. I’m amazed at how fast your blog loaded on my phone ..
    I’m not even using WIFI, just 3G .. Anyways, wonderful blog!

  20. Thank you for every other great post. The place else may just anyone get that type of
    information in such an ideal manner of writing? I have a presentation next week, and I am on the search for such info.

  21. magnificent points altogether, you simply received a
    logo new reader. What may you suggest about your publish that you just
    made a few days in the past? Any sure?

  22. Hello to every , for the reason that I am in fact keen of
    reading this webpage’s post to be updated on a regular basis.
    It consists of good stuff.

  23. Pingback: Google
  24. Wow, marvelous blog layout! How long have you been blogging for?
    you make blogging look easy. The overall look
    of your website is magnificent, as well as the content!

  25. HBVPancreas divisum controversialSimilar to other SSRIs dapoxetine gets the influence associated with slowing down ejaculation and orgasm as well as a little while medical professionals happen to priligy dapoxetine recommending various other SSRIs to take care of premature priligy dapoxetine.A fallopian tube is about inches long and lies near each ovary. generic levitra 40 mg I.male gonadCancer Tjalsma H.Antiageing treatments antiobesity pills tablets to increase brainpower even cures for baldness and wrinklesthey all work.He had interbred some pea plants that had various contrasting features such as flowers that were different colors and had discovered that many parental features were not blended together like some kind of hybrid soup in the offspring but were passed on in discrete particles or unitsnow known as genesthat kept their integrity and were inherited in specific patterns over succeeding generations. buy doxycycline acne The participation of dopamine in sexual function including erection is further supported by studies demonstrating that several dopamine receptor agonists such as apomorphine quinpirole quinelorane and hydroxyphenylNnpropylpiperidine induce penile erection after systemic administration in mammals Melis and ArgiolasAmong these is RUNX that codes for runtrelated transcription factor which modulates both the transforming growth factor TGF b and the Wnt b catenin signaling path waysE Ventricular fibrillation.Why the Test is Performed Your doctor may order this test if you have signs of certain reproductive or pituitary disorders.Paracelsuss overall view of medicine was based on four central pillars philosophy astronomy and alchemy coordinated by the fourth the virtue of the physician. buy viagra no perscription List and explain laboratory tests clinical procedures and abbreviations relevant to the digestive system.Injections only if physical therapy fails.Highdose irradiation exposure of tissue to radiation CANCER MEDICINE ONCOLOGY destroys tumor cells and produces damage to DNA. canada oil kamagra chewable There is also pitting edema of the lower extremities..iatrogenicSee the In Person story of a womans journey with Cushing syndrome.Still it is evident that all the rules for both organic and inorganic chemistry fol low from the principles of quantum mechanics.Also they may twist their body extend their neck or walk about the room in an effort to force food into the stomach. claravis .A waxlike coating can provide the necessary waterrepulsive property.

发表评论

电子邮件地址不会被公开。 必填项已用*标注

*