I'm looking to add a nice section on my homepage, which will act like a portfolio for recent work.I was advised to create a wordpress page to update my latest works. This does sound fine and I can work this out. Basically all I am looking for is one image and one paragraph of text per news item. I'd love to lay it out, with the left->right scrolling ability like the below link:
http:[url]....
Are there any examples or tutorials out there doing this which I can learn from? I don't want to have huge drupal things etc installed. I just have a simple HTML page and would like to display this javascript on the homepage.
I have a form in a webpage that I want to submit and get the result back without reloading the page.
I've seen many times ppl using text/x-www-form-urlencode but I was wondering if it was possible somehow to submit the form element directly so I wouldn't have to process the form to put it in a string.
I am having a problem using the XMLHTTPRequest, is something wrong in my code? How do you post data, I tried this but the PHP does not receibe any posted information, like if nothing was sended, i try this with Firefox 1.0.6 on Linux Fedora Core 3, thanks in advance for any ideas...., could it be some kind of firefox implementation bug? Code:
My JavaScript is trying to POST data to a CGI script (Perl) using XMLHttpRequest. My CGI server gets different data from IE than Mozilla Firefox.
// For Mozilla, req = new XMLHttpRequest(); // For IE req = new ActiveXObject("Microsoft.XMLHTTP"); req.onreadystatechange = requestHandler ; // function to handle async response req.open('POST', myURL, true); // use POST req.send('foo=11&bar=22') ;
A Perl CGI script prints the parameters passed to it. $q = new CGI ; foreach my $param ($q->param) { print "$param: " . $q->param($param) . " " ; }
The data received by the CGI script is inconsistent, depending if the client is IE or Mozilla (Firefox) Server result from IE client: foo: 11 bar: 22 Server result from Mozilla Firefox client: POSTDATA: foo=11&bar=22
It seems that the POST data IE sends is more correct than the Mozilla data. Is there another way to send the data in Mozilla so the CGI script will give the same results. I could easily adjust the CGI script, but I think the problem is at the client.
I use jQuery for loading ajax content, changing css etc. I want to make button that does something similar to "Refresh" - changes back all css changes to defaults.
How can I create argument defaults for a function? I have this function (the purpose of the lines I included were to set defaults if the user forget to input something simply to prevent an error.
I would like to save some programming space and time by finding another way to set defaults. I saw somewhere that you could set a default in the arguments list Code: function someFunction(aVariable = false) { //some code } But when I try to do this with all my arguments, I get the error: "Missing ) after formal parameters".
I have a long form and I have some checkboxes that do a onclick and show and hide the sub forms. This all works just fine but i want to onclick to also load some defaults into some of the subforms. Most of the fields in the sub form are drop down boxes. Below is my code to hide and unhide the tables I would like to just add to this code so I can just pass it a variable to change the defaults of said table. function check(tableId, ctrl){ document.getElementById(tableId).style.display = (ctrl.checked) ? "":"none"; } If I make no sense on what I am asking for I will try to explain more.
My jQuery-Plugin shoud produce two buttons with a onclick-event.Problem:The onclick-event got fired, when I call the plugin, without clickingon the button.Why got the click-event fired without clicking the button?Here my (shorted) plugin:
I would like to have a link that when the client choses it, it automatic makes the current page to be his home page no matter what browser he is using. is there a code for it?
i used this javascript code to set homepage in firefox but dos'nt work of firefox and work on IE6
function setasHome(){ document.body.style.behavior='url(#default#homepage)'; document.body.setHomePage(document.location); } a href="java script:setasHome();">sethome</a>
i want the code to set homepage in firefox and IE6
I'm the Webmaster/Designer for a Private Sector Company Intranet.
Now without exaggeration we must have the most IT-apathetic staff in the world even though they all work on PCs every day!
Anyways I've been trying to get them to bookmark the Company Intranet Site as their homepage for months to no avail.
I've sent them regular emails on the importance of doing it, run articles in the Company magazine, even put a JavaScript (make this your homepage) button on the site and nothing works. I would guess that even now only maybe 20% have it as their homepage.
Bits and pieces get posted to the Intranet Site all the time and once a month I post a Team Brief which contains a lot of very pertinent and important information for the staff.
I'd like a JavaScript that I can inconspicuously force a homepage. In other words I'll link to the Intranet Site from my email and by simply clicking on this link the user will have unwittingly booked the Intranet as their homepage.
Obviously smething that will not flag up a User "Do you accept?" permission.
It certainly doesn't help that IE doesn't seem to pass document.referrer or am I missing something ? Is it set up thru an add-on analysis package? (referrer info from logs? )
However, it is only for IE users. Since Firefox is probably the most common browser nowadays, does anyone have a script that works on both browsers? Or tell me if its possible to modify it for firefox?
i have just built a website, sidelinesportz. I am using a news posting system with in an iframe in the middle of the home page but when ever you click on a link in that frame it stays on that same spot. But on other pages with in that iframe it goes to the top like I want it, it is just that home.php page that is the issue. I have tried different codes but I cannot get them to work.
how i can make pictures scroll on a website's homepage, i believe javascript should be able to do that, such that pictures will be moving at the header. And will it be there while users navigate to other pages on the site?
I'm looking for a script or a direction if I want to do the following:I would like to have an image (same size as site dimensions) automatically fading out after a some seconds. When the image has faded out all underlying layout and controls must be controlable.Long time ago I had something working, but it didn't work not on all IE's. As time changes things rapidly maybe anyone have a tip or clue.
I have a feature banner on my homepage which is comprised of a banner image and 4 tab-like buttons. When the user clicks one of the tab buttons the banner image changes. This all works using the code below:
$ ( '#promo-items img' )
[Code]....
However, I'd like to put this on a timer so that the tabs select automatically, one after the other, and the main image changes correspondingly. The user can still manually select the tabs but the timer still loops through them too if the user doesn't select anything.
I try to implement a picture as a cluetip that should show up when the user touches the homepage logo. I tried different things but did not make it properly. the logo had an awful border in the colors of the links and in Firefox 3 the cluetip did not show.