Dear experts,
I need some one to tell me how to design a website in php or other scripting technology such that
when a user clicks on links or an image in the site, information is displayed without loading another page
The way this site (http://www.dotsavvysfrica.com) was designed although I know flas was used.
If anyone knows of a way how to do it, using php, html and javascript, please let me know
9 2071
Dear experts,
I need some one to tell me how to design a website in php or other scripting technology such that
when a user clicks on links or an image in the site, information is displayed without loading another page
The way this site (http://www.dotsavvysfrica.com) was designed although I know flas was used.
If anyone knows of a way how to do it, using php, html and javascript, please let me know
Hi,
First i coudnt open the URL you've provided... Anyways.. if you dont want to load a new page as what you are saying and if you want to make it in only php then what you can do is you can submit the page to itself and according to parameters you can change the page layout. Here you need to reload the page every time you are clicking anything on that page. Another way is if you dont want to reload your page then you can use PHP+Ajax. you'll lots of tutorials on net for PHP and Ajax. Try them and if you have any other questions post it here. Another thing is if you know Flash or something then you can easily do what you want,However i dont have much idea about that :( ..
Regards,
RP
The page that you are referring to is built up with Flash. I have not used this myself, but it is basically an interactive image that is doing all the work. Probably everything is already downloaded in the Flash and is just revealed or hidden according to the rules scripted in Flash.
To have a page updated in some manner without reloading the entire page, and without using Flash, you need to have some element on the page which can have its content only updated, leaving the rest of the page alone. You can do this, for example, with iframes and javascript, but not in such a fancy manner as the Flash example you refer to.
Have a look at some html frams tutorials.
"can submit the page to itself and according to parameters you can change the page layout."
HOW DO I DO THE ABOVE...?!?
Ajax is the only way to display the content without loading page....
Ajax is the only way to display the content without loading page....
Javascript can also do it, but it can be done with frames if you don't mind refreshing part of the page rather than all.
"can submit the page to itself and according to parameters you can change the page layout."
HOW DO I DO THE ABOVE...?!?
Hi,
This means what ever the variable you are getting for that page you can hide or show contents accordingly.
e.g. Like you have one link. On clicking that you want that your pic must be shown then send one variable to same page and just unhide the pic or load the pic on same page.
All the code would be on same page its just you are manupulating the layout accordingly.
But i would say Ajax will be easier approach to do what you want..
Regards,
RP
Thanks alot
Iam nw going to learn some AJAX and try the PHp option as ell..
Dear experts,
I need some one to tell me how to design a website in php or other scripting technology such that
when a user clicks on links or an image in the site, information is displayed without loading another page
The way this site (http://www.dotsavvysfrica.com) was designed although I know flas was used.
If anyone knows of a way how to do it, using php, html and javascript, please let me know
You could use javascript to create a iframe with the irl you need to display. It would display the data within that page while keeping the page you have open where it is.
Either that or use Ajax as someone previously suggested.
Sign in to post your reply or Sign up for a free account.
Similar topics
by: yawnmoth |
last post by:
i'm trying to display text while a page is loading using a method
similar to the following:
<?
ob_end_flush();
echo 'AAA<br>';
flush();
sleep(10);
echo 'BBB';
?>
|
by: oneglenport-programming |
last post by:
Is there a javascript code for loading the contents of a document first,
before displaying it?
Thank you.
|
by: Tomaz Koritnik |
last post by:
Hi
I have many short HTML files stored in a binary stream storage to display
descriptions for various items in application. HTML would be display inside
application using some .NET control or...
|
by: RAJ |
last post by:
In our multi-tier application, we have several ASP.NET user controls which
will update the same data source provided by middle tier logic.
In this particular scenario we have one user control...
|
by: snazzy |
last post by:
I have a problem where using innerHTML to rewrite a DIV or removeChild
to kill a DIV that either of them, if excuted before the page is done
loading will stop the page in its tracks.
...
|
by: Garry Jones |
last post by:
I have recently constructed a website using a lot of php script (self
taught). I now wonder if I should have construted the site in a different
way.
The page contains a header (a.php) and left...
|
by: Mark |
last post by:
Hello.
I am looking for a way to download and cache a web page that the user has
not yet requested, and write the web page to the browser cache without
displaying it. My intention is to improve...
|
by: merlin_at |
last post by:
Okay, I'm still really new to javascript, so I'm looking for a little help. I
want to grab a name with I'm trying to display a hyperlink in my body, but one of
my functions overwrites it. The...
|
by: ted |
last post by:
I have an old link that was widely distributed. I would now like to
put a link on that old
page that will go to a new page without displaying anything.
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |