HTML 5 script for murga forum search
HTML 5 script for murga forum search
I have made a PET for a small web capable utility that uses a Google search customized for Puppy Linux, and is helpful to scan this forum.
The PET file contains several files and a directory that will be installed to /root/Web-Server. To use it, open Rox to ~/Web-Server and open psearch.html in a browser. I can click on it and it opens in the default browser. Also possible to start the Hiawatha web server or PPLOG and open a browser and use the URL http://localhost/psearch.html or use your system's IP.
clicking on the Puppy Linux logo will hide it.
Remove the "false" gz extension.
The PET file contains several files and a directory that will be installed to /root/Web-Server. To use it, open Rox to ~/Web-Server and open psearch.html in a browser. I can click on it and it opens in the default browser. Also possible to start the Hiawatha web server or PPLOG and open a browser and use the URL http://localhost/psearch.html or use your system's IP.
clicking on the Puppy Linux logo will hide it.
Remove the "false" gz extension.
- Attachments
-
- psearch.pet.gz
- (100.55 KiB) Downloaded 576 times
Last edited by rockedge on Sat 23 Mar 2019, 21:18, edited 1 time in total.
fully responsive page for small screens
- Attachments
-
- Screenshot.png
- (30.51 KiB) Downloaded 819 times
-
- Screenshot(1).png
- (15.62 KiB) Downloaded 795 times
@rockedge
actually a good idea but I afraid not everybody will like it because usage of javascript.
First test worked for me, but I've to complain the dimension and alignment.
Maybe the Puppy logo a little bit smaller, the search result area in the middle and the text size a bit bigger would be fine.
thanks
actually a good idea but I afraid not everybody will like it because usage of javascript.
First test worked for me, but I've to complain the dimension and alignment.
Maybe the Puppy logo a little bit smaller, the search result area in the middle and the text size a bit bigger would be fine.
thanks
- Attachments
-
- puppy_search.png
- psearch
- (77.61 KiB) Downloaded 830 times
That is true and of course those who do not want to use javascript do not have to use the script.not everybody will like it because usage of javascript.
Click on the logo image and it will disappear. That will save space for using it.Maybe the Puppy logo a little bit smaller
Feel free to modify the CSS or html files to improve or customize it.
__
to expand the width of the results open the psearchA.css
change this on or around line 49 ->
to this ->
This is adjusted in the PET file.
__
change this on or around line 49 ->
Code: Select all
.gs-webResult
{
width:42em;
padding:2px 0
}
Code: Select all
.gs-webResult
{
width:100%;
padding:2px 0
}
__
Last edited by rockedge on Sat 23 Mar 2019, 21:19, edited 2 times in total.
-
- Posts: 721
- Joined: Sat 31 Mar 2018, 08:01
- Location: Rakaia
- Contact: