iKane
Members
-
Joined
-
Last visited
Reputation Activity
-
iKane reacted to user-removed in anyone know whyYou do know, you could fix a lot of these issues yourself by using dev tools in Chrome or Firebug in Firefox?
-
I dunno, it's a LOT easier to type on than the iPhone's poxy little keyboard. The iPad I tried in store kept up with my typing which is pretty fast.
If the use of the screen was done well I think I could live with it.
A decent FTP code editor app would work too yup!
-
-
iKane got a reaction from Les Mac in Browser MysteryYes, do this you would use this code:
<!--[if lt IE 8]>
<link rel="stylesheet" type="text/css" href="pathToIE7Stylesheet.css" />
<![end if]-->
That will target anything before IE8. Take out the lt to make it specifically for 7 and so on.
Place this directly after any other CSS sheets, this also means that you don't have to restyle each element all over again, just overwrite whatever property isn't working/needs to be added.
Hope that makes sense.
-
iKane got a reaction from BreakdownDesign.co.uk in iPad 2,Fanboys will be fanboys. *puts on Apple hat and strokes iPhone*
-
iKane got a reaction from Adam Boyce in CSS Slide Shows, Can it be done ?jQuery is a JavaScript library, which simplifies the language (to an immense degree). It can animate objects (that have a position of something other than static/auto, I should point out for you now) and dynamically change content.
Check it out, if you need any help getting started I'm sure you'll be able to get lots of help from here, and there's a wealth of information and documentation on jQuery on the internet.
-
iKane got a reaction from Synjyn in Ugh, IE7 z-index, again...I've fixed it now. It's not as pretty but I haven't had to add any extra markup or use jQuery to fix it at least.
In an IE7 specific CSS page I took away the relative positioning of the container div ('.selectPic') which means that I had to take away the absolute positioning of the ('.selectPicDrop') tab otherwise it'd position itself out of the parent. I changed it to relative positioning, and gave it a z-index of -1 (in line with that IE7 gives everything a new stacking order starting at 0.) Then I just added a margin to the top to push it back down and voila.
I hope this helps someone else who runs into this problem.
Basically, if you run into this, you need to find a way to remove the relative positioning of the parent element.
Edited because of my horrendous use of the English language!
-
-
iKane reacted to mteam in jQuery .load disabling anchor, .live having no effect.#contentwrapper z-index:-1; is why you cant click the link
#mainbannerbgbottom { background: url("../images/mainbannerbgbottom.png") no-repeat scroll 0 0 transparent; height: 9px; position: relative;/*added*/ width: 906px; z-index: 2;/*added*/ } #contentwrapper { background: url("../images/contentbgmid.png") repeat-y scroll 0 0 transparent; font-family: Verdana,Geneva,sans-serif; height: 0; margin: 0 auto; overflow: hidden; position: relative; top: -10px; width: 870px; z-index: 1;/*changed to 1*/ }
Edited added css
-
iKane got a reaction from Vreaking in Followed a guide for php, mysql, apache, myphpadmin. But won't workLike I said you can use anything to write PHP code, notepad or even conTEXT. But that won't give you any way of actually testing the web page on your computer. I'm not sure if you understand the difference between PHP code and a testing server.
Other than the tutorials and FAQ's I gave you the links to I don't know what else to suggest, sorry.
-
iKane got a reaction from Vreaking in Followed a guide for php, mysql, apache, myphpadmin. But won't workI understand it can get complicated, but really you only need two. One for writing code, one for testing. In my case Dreamweaver and MAMP.
It'll get easier trust me, I was super confused when I first started out. You just need to know, that you can't write in PHP if you don't have a testing server.
-
iKane got a reaction from Vreaking in Followed a guide for php, mysql, apache, myphpadmin. But won't workNot entirely true because you don't need to access MySQL for the script I wrote for you. PHP and MySQL do go hand in hand but you're not required to access it just to code in PHP.
Xampp and other testing servers all have everything ready to go, just put your site folder (root) inside the htdoc folder which will be set up for you when you install the servers. Once you've done that you will have to type localhost: into your browser, followed by your port (can't remember what this is off the top of my head but it's something like 8080) followed by your sire folder name followed by your index.php file.
http://localhost:8080/yoursite/index.php
I'm giving you these instructions from my memory because I'm at work so they could be slightly wrong, especially as I set up my testing server in Dreamweaver so all I have to do is click preview in browser!
Is there anyone who doesn't use Dreamweaver who can confirm or change my instructions above for Vreaking?
[Edit]
A quick search on the xampp FAQ shows that apparently you don't need to specify a port
http://www.apachefriends.org/en/faq-xampp-windows.html#startpage
So you can just use http://localhost/yoursite/index.php in your browser.
Hope that helps.
-
iKane got a reaction from Vreaking in Followed a guide for php, mysql, apache, myphpadmin. But won't workCould you not just use WAMP (or MAMP for a Mac) to create an Apache testing server with PHP, MySQL and MyPHPAdmin with it? Or is that not what you're trying to do?
[Edit]
http://www.wampserver.com/en/
http://www.apachefriends.org/en/xampp-windows.html
And a tutorial from Adobe to set them up:
http://www.adobe.com/devnet/dreamweaver/articles/setup_testing_server.html
Hopefully point you in the right direction
-
iKane got a reaction from Vreaking in Followed a guide for php, mysql, apache, myphpadmin. But won't workI'm not sure what you mean, you can use anything to write PHP like notepad or notepad++, Dreamweaver does a great job of making PHP easier to read so if you have it I would recommend you keep using it.
It doesn't matter what you write PHP in though, to view it in a browser on your computer you will still need to install a testing server like xampp or wamp.
To clarify, PHP is just another language that you can use to code a web page, like HTML and JavaScipt, the only difference is that it gets executed on the server before the browser interprets it.
-
iKane got a reaction from Vreaking in Help making a Link with dreamweave sc5Haha you're more than welcome. Glad I could help! Let me know if you need anything else.
-
iKane got a reaction from Vreaking in Help making a Link with dreamweave sc5Do you mean, that there would be an option for a visitor to define a link to whatever page they wanted (http://www.example.com), and it saves it for that visitor? So even when they close the site, if they reopen that site the link they defined as www.example.com would still be there?
-
iKane got a reaction from Vreaking in Help making a Link with dreamweave sc5No problem!
Well, off the top of my head if there's no log in options for the website that will have the link, which would be used store user data, then I think you would have to do it with cookies. The problem with this of course being that as soon as a user clears his or her browsing history along with all the cookies, or if they haven't even got cookies enabled, then it will only last that long and they would have to re enter the link.
If you wanted to make it permanent (like being able to customize Google's home page) then you would have to have some sort of log in procedure.
You couldn't even store users IP addresses in a database to choose what to show because IP addresses change all the time, or they might one day be looking at it on a PC and the next on an iPhone.
I hope I've understood what it is exactly you're trying to do, if not I could be giving you completely pointless advice
Let me know if this helps!
-
iKane got a reaction from Vreaking in Help making a Link with dreamweave sc5Lol, okay. What do you code in? PHP would be useful here! I can give you some pointers but you'll need to have some way of testing out your PHP script on your computer (otherwise you'd have to keep uploading it to a server which would get harsh when debugging etc)
-
iKane got a reaction from Vreaking in Help making a Link with dreamweave sc5I think you mean Dreamweaver CS5 not SC5?
I'm working on a little script for you, but you will only be able to use it on a webpage that has .php at the end, not .html.
-
iKane got a reaction from Vreaking in Help making a Link with dreamweave sc5You're welcome!
This isn't much but hopefully it will steer you in the right direction. If you need any help let me know but I've tried to comment on everything so you know. You can copy and paste this into a .php file and poke and prod away as much as you like (it's how I learned).
This example assumes that the page this is on is index.php, so change that to whatever you want your actual page to be called.
This has to be BEFORE the doctype declaration, so it has the chance to execute on the server before the page loads:
<?php //Check if submit button was clicked $submitted = $_POST['submit']; //If it was, start setting the cookie, if not just carry on loading the page as normal if ($submitted == "Set") { //Decide on options for cookie $name = "link"; //Make the cookie value whatever was entered in the text input field $value = $_POST['linktoremember']; //Make expire time a super duper long way into the future $expire = mktime(0, 0, 0, 12, 31, 2015); //Set cookie with above values setcookie($name, $value, $expire); //Then reload the page header("location:index.php"); } ?>
And this code goes between the <body></body> tags:
<?php //Check if cookie exists if (isset($_COOKIE["link"])) { //If it does, display the link that was stored in the cookie echo("<a href='" . $_COOKIE["link"] . "'>" . $_COOKIE["link"] . "</a>"); } //And if it's not, then display the form to enter the link else { ?> <form action="index.php" method="post"> Enter a link to save for your homepage: <input id="linktoremember" type="text" name="linktoremember" /> <input id="submit" type="submit" name="submit" value="Set" /> </form> <?php //End of "else" statement } ?> </body>
And you can see it working at http://testingground.../cookielink.php
Let me know how you get on.
-
iKane got a reaction from Vreaking in Help making a Link with dreamweave sc5Yup, apologies for the output looking ugly but it's just to give you an idea!
Add this just before " //Check if submit button was clicked $submitted = $_POST['submit'];":
//Check if X link was clicked $delete = $_GET['q']; //If it was then delete the cookie if ($delete == true) { //Delete the existing cookie (by setting it's expiry date to a past time) setcookie("link", "", time()-3600); //Then reload the page header("location:index.php"); }
And then replace "echo("<a href='" . $_COOKIE["link"] . "'>" . $_COOKIE["link"] . "</a>");" with:
echo("<a href='" . $_COOKIE["link"] . "'>" . $_COOKIE["link"] . "</a>" . " <a href='index.php?q=true'>X</a>");
And you should get an X link which you can click to delete the link from the cookie and start again.
Try it here:
http://testingground.../cookielink.php
[Edit] Don't forget to click on the green + if you feel like I've helped! It's much appreciated
-
iKane reacted to zed in IE giving divs problems/o\
have a look at your <LI> statements in the underdestaques DIV for start. They need to be in a <UL> or <OL> http://w3schools.com/TAGS/tag_li.asp
UL/LI often lead to issues between browsers as IE is more strict about code and Firefox makes assumptions that can hide coding problems.