Jump to content

Mudsaf

Members
  • Posts

    462
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Mudsaf

  1. Well if you try that code and mouseenter on "naviHeader", he subnavi text will be displayed, but after you mouseenter subnavi the subnavi2 width is too low. Copy & paste and test and you'll see my problem. (Use chrome, bc i will modify it for other browsers later.)
  2. Alright, i'm wondering how to get pos2 & pos3 width depending on the text size, this is my code so far. <html><head><meta charset='utf-8'><script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script><title>Navigation</title><style>* {margin:0;padding:0;}#navigation {margin:50px auto 0 auto;width:1200px;}.naviHeader {display:inline-block;vertical-align:text-top;}.positioning {position:absolute;text-align:left;background-color:#CCC;border-right:groove;width:auto;}.pos1 {display:none;}.pos2, .pos3 {margin-top:-20px;display:none;width:auto;}</style></head><body><script>$(function() {var NavLevel;$(".naviHeader").mouseenter(function() {NavLevel = 1;$(this).find(".pos" + NavLevel).show();$(this).find(".subNavi" + NavLevel).mouseenter(function() {NavLevel = 2; width = $(this).width();$(this).find(".pos" + NavLevel).css({"margin-left":width, "display":"inline-block"});$(this).find(".subNavi" + NavLevel).mouseenter(function() {NavLevel = 3;width = $(this).width();$(this).find(".pos" + NavLevel).css({"margin-left":width, "display":"inline-block"});}).mouseleave(function() {$(this).find(".pos" + NavLevel).hide();});}).mouseleave(function() {$(this).find(".pos" + NavLevel).hide();});}).mouseleave(function() {NavLevel = 1;console.log(NavLevel);$(this).find(".pos" + NavLevel).hide();});});</script><div id="navigation"><div class='naviHeader'>Homepage<div class='pos1 positioning'><div class='subNavi1'>Data1 asdasdasa<div class='pos2 positioning'><div class='subNavi2'>Data1 - Item1<div class='pos3 positioning'><div class='subNavi3'>Data1 - Item1 - Item1</div><div class='subNavi3'>Data1 - Item1 - Item2</div></div></div><div class='subNavi2'>Data1 - Item2<div class='pos3 positioning'><div class='subNavi3'>Data2 - Item1 - Item1</div><div class='subNavi3'>Data2 - Item1 - Item2</div></div></div></div></div><div class='subNavi1'>Data2</div><div class='subNavi1'>Data3</div><div class='subNavi1'>Data4</div></div></div> - <div class='naviHeader'>Forums</div><div></body></html>
  3. Hello, i'm wondering is there some kind of tag that doesn't save the last record on "cookies or somewhere" at browsers. Example if i enter now value 123 to input box and submit, next time i enter 1 it displays the 123 as option.
  4. Hello, i'm wondering which is best method to make account recovery key? Wondering is MD5 with random integer from 1-100k + some text there be good?
  5. I don't think that's possible because of security reasons unless both websites are hosted from same server. //Prob misunderstood post but $new_pic = "../images/$picname.gif"; <!-- this is only text, not image -->echo "$new_pic" <!-- this ain't closed --> Have you tested your code?
  6. Hello, i'm wondering could i make index page with ALOT of functions depending on get parameter. Example if (isset($_GET['para1'])) {Readthis}if (isset($_GET['para2'])) {Ignorethis}//So does php page read all scripts and data inside them or just para1 if my browser has ?para1=blaa at URL. So better to seperate pages or could i merge them all "kinda" in 1 spot?
  7. Lol i can't remember the web-address anymore >_>, but there was some changes made. Notice: Theme update might remove the code from the middle.
  8. Try downloading Microsoft Essentials its free Windows Defender on XP/Vista/7 detects and removes known spyware only. It is not designed to protect against the full breadth of malicious software, and specifically does not prevent viruses, worms, Trojans, and other malicious software from infecting your machine. Source: Ask.Microsoft Download here: http://windows.microsoft.com/en-us/windows/security-essentials-download Additional free software AVG, Avira, Avast, Essentials Additional costing software Avg, Avira, Avast, F-secure, McAfee, Norton
  9. My login page is everyday page just like in w3schools
  10. You wan't it to be like this? It took quite few changes tho & takes bit time to edit wordpress old elements & wordpress theme updates would remove the code always.
  11. Mudsaf

    Moving text

    1) Open any HTML file with some kind of texteditor (notepad, notepad++, dreamweaver... alots of more) 2) Locate the text you want to move from bottom to the top, example below. <html><head><title>MyPage</title></head><body><div id="Top text">Text on top</div><div id="Bottom text">Text on bottom</div><body></html><!-- Then just reverse it --><html><head><title>MyPage</title></head><body><div id="Bottom text">Text on bottom</div> <!-- Oo this is now at top --><div id="Top text">Text on top</div> <!-- its my time to be at bottom of the page --><body></html> 3) If you didn't get it fixed by yet, i recommend you to check w3schools.com html tutorials or attach the file here.
  12. Alrighty, i'm not asking that personal information at the moment & first name & surname are optional.
  13. Mudsaf

    Moving text

    Maybe move the text to top one & top one to bottom then?
  14. Mudsaf

    Moving text

    I don't quite get you, but are you trying to change text while browsing or just at certain file?
  15. http://stackoverflow.com/questions/724391/saving-image-from-php-url-using-php copy('<imagepath>.(jpg,png,gif,php whatEVA you want)', '<yourlocalfolder>.jpg');
  16. Hello, i'm wondering should i go to HTTPS mode on my website because its available. What are the + & - of http & https?
  17. Ah, that sounds good. Have to start developing the script when i'm ready.
  18. I think the major browsers tell which one to load first. 1. Style & Lightweight HTML code 3. JavaScript / Ajax / -Something else- 2. Images / Other larger files / Flash / Videos See more http://stackoverflow.com/questions/1795438/load-and-execution-sequence-of-a-web-page
  19. Hello, i wan't extreme security on my website. How to convert MD5 protected data to SHA-512?
  20. Np "stewie", let my death be quick and painless when you're ruling the world!
  21. So you're trying to remove faded out element? I'm not quite sure is below the answer for you question. $(drops[i]).fadeOut(350, function() {drops[i].parentNode.removeChild(drops[i]);});
  22. Have you checked the browser support? http://www.w3schools.com/jsref/event_onunload.asp The onunload event is supported in IE, Firefox, and Safari, but not supported properly in Chrome or Opera. Also remember ActiveX Script have to be allowed to this happen (atleast on IE)
  23. Umm where do you need physical information of device? If you're trying to find which processor + etc you would need additional program for that (Atleast i assume). I found this for mobile device detecting tho. https://code.google.com/p/php-mobile-detect/ Check demo page below http://demo.mobiledetect.net/
×
×
  • Create New...