Welcome Guest! To enable all features please try to register or login.
HTML5 Toys and Gadgets
Silesa
#1 Posted : Friday, November 20, 2020 12:34:02 PM(UTC)


Rank: Veteran Forum Member

Joined: 6/22/2011(UTC)
Posts: 15,204
Medals:




Greeter code

]http://sitv.us/sharedbySiTV/greeter/cts1.php?name=[membername]

If you try that link in a browser the text is white hard to see plus i used the .css and .js that is the same for transparent video in HTML5 so there is no background.

Also if you right-click to view the source you will not see the actual PHP code that makes it work, what you will see is the HTML code that is generated by the PHP code.

The goal is to utilize the HTML tags UV has gave us and pass them to an HTML page using URL parameters.

The new tags are listed @ https://www.utherverse.com/news/#chromium

Code:
<html lang="en">
<head>

<script>

window.ga = window.ga || function() {
  (ga.q = ga.q || []).push(arguments);
};
ga('create', 'UA-24722991-1', 'auto');
ga('set', 'transport', 'beacon');
ga('send', 'pageview');
</script>
<script async src="https://www.google-analytics.com/analytics.js"></script>

<meta charset="utf-8">
<meta name="description" content="sitv test.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta itemprop="name" content="sitv test.">
<meta itemprop="image" content="/images/icons/icon.png">
<meta id="theme-color" name="theme-color" content="#fff">

<link rel="icon" href="/images/icons/icon.png">

<base target="_blank">

<title>greeter </title>

<link rel="stylesheet" href="../css/main.css">
<link rel="stylesheet" href="css/main.css">

</head>
<body>
<?php
            
        echo "<h6><font color=white text-align=center size='8pt'>        Welcome " . $_GET["name"] . "</h6>";
        
        ?>

<style type="text/css">

.snaparquee {height:40px;width:590px;background-color:6e6e6e;font-size:34px;color:eeeeee;font-weight:bold;}
</style>
<!-- HTML Code -->
<marquee class="snaparquee" direction="left" behavior="scroll" scrollamount="4">*How to calculate show start time: Each film is time coded and the rotating movie poster images to your right are in order of showing. Google and add run time of films plus 5 to 10 minutes of short features in between films..........................................................
</marquee>
  <div id="container">

    <script src="js/main.js"></script>

  </div>

</body>
</html>


The entire code/page is mostly dressing through the .css and .js scripts i use on transparent video pages

Code:
<?php
            
        echo "<h6><font color=white text-align=center size='8pt'>        Welcome " . $_GET["name"] . "</h6>";
        
        ?>


There is several ways to pass URL parameters/values into HTML but i found that PHP does it the easiest and that part of the code/page can be used to build any kind of styling around a Greeter app others might choose to use rather than my transparent video .css/.js

To those who want to try to modify and self-host their own greeter, the PHP CSS & JS is in this zip file

http://sitv.us/sharedbySiTV/greeter/greeter.zip

If you spread Joy with it it's all good if you earn from it please do not forget the kindness and share back/support SiTV

It is not always about rays but if anyone needs help Ray Love sure does help me back covering SiTV cost and gets my attention.


Link to another gizmo i have shared, somewhere in the forum i shared an HTML fireplace to replace the swf one too

HTML Fish Tank
https://forums.utherverse.com/yaf_postsm1632110_My-touchable-fish-tank--is-there-a-new-link.aspx#post1632110
CALL CONGRESS reps/senators
GET Citizens United v. FEC OVERTURNED.END CORPORATE CONTROL
https://www.house.gov/representatives/find/

DON'T PLAY THE FORUM GAME WE ARE ALL BETTER THAN THAT

SUPPORT UV ARTIST/VENDORS/ENTERTAINERS AVI IMAGE BY Mizaki_Tanaka
REGISTER TO VOTE OR CHECK IF REGISTERED @ https://www.usa.gov/election-office
6 users thanked Silesa for this useful post.
Sandra_SD_SoF on 11/20/2020(UTC), A_Seddy on 11/20/2020(UTC), Stonedwookie on 11/20/2020(UTC), JHEKHO_Vzla on 1/11/2021(UTC), Fanny on 3/12/2021(UTC), MarceloHerz on 12/22/2021(UTC)
Red_Queen
#2 Posted : Friday, November 20, 2020 2:56:31 PM(UTC)


Rank: Utherverse Staff

Joined: 2/27/2014(UTC)
Posts: 257
Medals:
Anyone who makes something like this, contact sweetguy and he will add them to this post.
5 users thanked Red_Queen for this useful post.
Silesa on 11/20/2020(UTC), A_Seddy on 11/20/2020(UTC), Cala_ULIKHYI on 11/20/2020(UTC), Sandra_SD_SoF on 11/21/2020(UTC), MarceloHerz on 12/22/2021(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Clean Slate theme by Jaben Cargman (Tiny Gecko)
Powered by YAF | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.180 seconds.
TC-IIS-7
52.15.210.12