Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,993 members, 7,817,930 topics. Date: Saturday, 04 May 2024 at 11:16 PM

Metro Ui Website,guys Please Help! - Webmasters - Nairaland

Nairaland Forum / Science/Technology / Webmasters / Metro Ui Website,guys Please Help! (631 Views)

Guys Please I Need A Favour From You Guys / Guys Please Review My Website / Angular, UI/UX And PHP Developer Wanted- Remuneration Up To ₦250,000 Monthly (2) (3) (4)

(1) (Reply) (Go Down)

Metro Ui Website,guys Please Help! by vinqq(m): 10:26am On Aug 05, 2015
<a href="login.php">login</a>

i want to replace this so that i have a metro ui login box within the same page as a drop down. this is the metro code.
what js files should i add?


$("#createFlatWindow"wink.on('click', function(){
$.Dialog({
overlay: true,
shadow: true,
flat: true,
icon: '<img src="images/excel2013icon.png">',
title: 'Flat window',
content: '',
padding: 10,
onShow: function(_dialog){
var content = '<form>' +
'<label>Login</label>' +
'<div class="input-control text"><input type="text" name="login">
<button class="btn-clear"></button></div> ' +
'<label>Password</label>' +
'<div class="input-control password">
<input type="password" name="password">
<button class="btn-reveal"></button></div> ' +
'<div class="input-control checkbox">
<label><input type="checkbox" name="c1" checked/>
<span class="check"></span>Check me out</label></div>'+
'<div class="form-actions">' +
'<button class="button primary">Login to...</button> '+
'<button class="button" type="button" onclick="$.Dialog.close()">Cancel</button> '+
'</div>'+
'</form>';

$.Dialog.title("User login"wink;
$.Dialog.content(content);
$.Metro.initInputs();
}
});
});
Re: Metro Ui Website,guys Please Help! by dwebdesign(m): 12:28pm On Aug 05, 2015
you can hide the form using jquery show() on the form hide. use css to set the display to none.

then use a button to show the form.

that is

$(document).ready(function(){

$("#btn_id"wink.click(function(){

$("#form_id"wink.show(speed, callback function);

});

});

Make sure you point to jquery in your head of your document .



Contact me on :

Mobile: 08133884165

WhatsApp: 08133884165

BBM: 2BB63350

Am a website developer skilled in languages as: HTML/HTML5, CSS/CSS3, PHP, MYSQL, Javascript/Jquery,JqueryMobile,Bootstrap Ajax.
phpquard

CMS (Wordpress, Joomla, Opencart, Magento, Whmcs, Drupal and Pulse Cms, blogger ).
Re: Metro Ui Website,guys Please Help! by vinqq(m): 11:51pm On Aug 05, 2015
thanks ,I solved the problem.It was the jqueries conflicting and making things hard.
Re: Metro Ui Website,guys Please Help! by dwebdesign(m): 3:49am On Aug 06, 2015
Happy for you. Happy coding!

(1) (Reply)

HELP! My Blogpost Will Not Show "Continue Reading/read More" / Need Help Creating And Designing A Blog? / Google Will Pay You $1 Million If You Can Hack Its Web Browser

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 14
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.