Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

HTML Sandbox 2015
Free Republic | 2 Januray 2105 | Self+other FReepers

Posted on 01/02/2015 5:48:29 AM PST by ShadowAce

click here to read article


Navigation: use the links below to view more comments.
first previous 1-20 ... 121-140141-160161-180 ... 261-267 next last
To: mund1011

141 posted on 12/16/2015 1:36:30 PM PST by mund1011
[ Post Reply | Private Reply | To 139 | View Replies]

To: timestax

Is the format different for posting a .gif image?

I am trying to upload the video clip at:

http://i.imgur.com/wIOwvZT.gif

For some reason all I get is the small square box.


142 posted on 12/16/2015 1:43:43 PM PST by mund1011
[ Post Reply | Private Reply | To 140 | View Replies]

To: mund1011

I don’t know about gifs.


143 posted on 12/16/2015 1:59:46 PM PST by timestax (American Media = Domestic Enemy)
[ Post Reply | Private Reply | To 142 | View Replies]

To: timestax; mund1011
.gif works just fine, and I did see yours.

<img src="http://enemiesforeignanddomestic.com//sj/images/61cb2_zQLMZ.gif" alt="Kittie doing its nails." align="right">

Yields:

Kittie doing its nails. With a right alignment the text will flow around the image.

Freedom ≠ Free Stuff☭
I, for one, welcome our new Cybernetic Overlords /.
Mash Dobbshead® for HTML, bop Hello_Cthlhu for XAMPP

144 posted on 12/17/2015 9:14:59 AM PST by Mycroft Holmes (The fool is always greater than the proof.)
[ Post Reply | Private Reply | To 143 | View Replies]

To: ShadowAce

I had a while ago tried to bold a word, and < b > didn’t work. < strong > didn’t, either. I had to use < big >.

Doesn’t bolding work with a < b > any longer?


145 posted on 12/21/2015 9:40:05 PM PST by packrat01 (I USED TO BE gruntled.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: packrat01
Hmmmmmm...

Doesn't bolding work with a < b > any longer?

Doesn't bolding work with a < b > any longer?

< b >< /b > (take out spaces) seems to work for me.

146 posted on 12/21/2015 9:47:30 PM PST by Drago
[ Post Reply | Private Reply | To 145 | View Replies]

To: Drago
(take out spaces) seems to work for me.

I put the spaces in so they'd print on-screen. Took 'em out to post this, and no bolding. I don't get it. Ain't working for me and this time I (again) had to use < big > (without the spaces) to get a bold appearance. FireFox on an old XP machine...

147 posted on 12/21/2015 10:04:57 PM PST by packrat01 (I USED TO BE gruntled.)
[ Post Reply | Private Reply | To 146 | View Replies]

To: packrat01

That reminds me...I have been wanting to see if different browsers/old versions could be using/forced to use different encoding standards to view pages (ASCII vs. UTF-8 for example). Set in prefs??? On my “low priority “to do” list since the FR problems popped up. ;-)


148 posted on 12/21/2015 10:09:49 PM PST by Drago
[ Post Reply | Private Reply | To 147 | View Replies]

To: packrat01

BTW...what you posted...”(take out spaces) seems...” IS in bold on my browser (Safari)...perhaps your < B > is working, and you are just not seeing it on your browser???


149 posted on 12/21/2015 10:12:47 PM PST by Drago
[ Post Reply | Private Reply | To 147 | View Replies]

To: ShadowAce
Here is one for the HTML mavens. I want to simulate YT posts -- so far I have come up with this:

<a href="https://www.youtube.com/watch?v=yVVnbpKpMiY" target="_blank">
<img src="https://i.ytimg.com/vi/yVVnbpKpMiY/hqdefault.jpg"></a>

Where yVVnbpKpMiY is the YouTube Video ID. I want to overlay the YT Play button and have not been able to come up with a way to do it with HTML (FR apparently dies not support CSS) ideas?

This is what the above produces:


150 posted on 12/26/2015 7:14:11 AM PST by freedumb2003 (Don't mistake my silence for ignorance, my calmness for acceptance, or my kindness for weakness)
[ Post Reply | Private Reply | To 1 | View Replies]

To: freedumb2003; dayglored
Ping to Post #150.

I do not know how to overlay the play button--It seems that freedumb2003 has done what he wants, or maybe I'm misunderstanding the question.

151 posted on 12/26/2015 7:37:54 AM PST by ShadowAce (Linux - The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 150 | View Replies]

To: ShadowAce

>>I do not know how to overlay the play button—It seems that freedumb2003 has done what he wants, or maybe I’m misunderstanding the question.<<

I got halfway there — I can get the image I want but I ALSO want to get the play button gif to sit on top of the image from the movie. This would perfectly simulate how other sites have “Video” or “Youtube”meta-tags.

All the google-fu I have used suggest using CSS div meta-tags but we don’t seem to support that here.

Anyone know any old HTML techniques to accomplish getting one picture on top of another?

Thanks!


152 posted on 12/26/2015 12:26:01 PM PST by freedumb2003 (Don't mistake my silence for ignorance, my calmness for acceptance, or my kindness for weakness)
[ Post Reply | Private Reply | To 151 | View Replies]

To: freedumb2003; ShadowAce
> get the play button gif to sit on top of the image from the movie

Old-timer's hack might work -- make a 1-cell table, use the movie image as the "background image" of that cell, and then position the play button as the content image of the cell, using something like "ALIGN=center" and "VALIGN=middle" to place it in the middle of the cell (you might not need both of those aligns if you use a TH rather than a TD for the cell).

Roughly off the top-o'-my-head (I haven't tried this):

<TABLE BORDER=0 CELLPADDING=0 CELLSPACING0=0>
<TR>
<TH ALIGN=center VALIGN=middle>
<IMG SRC="https:/www.youtube.com/...the_youtube_URL...">
</TH>
</TR>
</TABLE>
Something like that anyway....
153 posted on 12/26/2015 8:52:21 PM PST by dayglored ("Listen. Strange women lying in ponds distributing swords is no basis for a system of government.")
[ Post Reply | Private Reply | To 152 | View Replies]

To: dayglored

Clever — thanks, I’ll give it a shot!


154 posted on 12/27/2015 4:07:39 AM PST by freedumb2003 (Don't mistake my silence for ignorance, my calmness for acceptance, or my kindness for weakness)
[ Post Reply | Private Reply | To 153 | View Replies]

To: freedumb2003

Just noticed a typo. Should have been CELLSPACING not CELLSPACING0.

Good luck!


155 posted on 12/27/2015 9:00:10 AM PST by dayglored ("Listen. Strange women lying in ponds distributing swords is no basis for a system of government.")
[ Post Reply | Private Reply | To 154 | View Replies]

To: dayglored

Thanks, amigo.

Attention to detail is a sign of a fine-tuned mind.

Many of us typo (is that a verb?) — the sharp ones note and correct.

:)


156 posted on 12/27/2015 10:14:05 AM PST by freedumb2003 (Don't mistake my silence for ignorance, my calmness for acceptance, or my kindness for weakness)
[ Post Reply | Private Reply | To 155 | View Replies]

To: freedumb2003
So I forgot to say something else. If the YouTube video picture that is intended to fill the cell is intended as a background image (as I suggested), then its image source URL has to be an element part of the TH (or TD) tag, and you have to specify WIDTH=xxx and HEIGHT=yyy where xxx and yyy are the dimensions of the background graphic image in pixels. (If you don't do that, the cell size will be only the dimensions of the smaller image, and that's all you'll see.)

So the cell spec would be like this:

<TH ALIGN=center VALIGN=middle BACKGROUND="...the_youtube_image URL..." WIDTH=xxx HEIGHT=yyy>
<IMG SRC="...the_play_button_URL...">
</TH>
And for what it's worth, I just tried this out and it does work. And for the heck of it I used an animated GIF for the central (smaller) image, and it animates correctly.
157 posted on 12/27/2015 3:42:42 PM PST by dayglored ("Listen. Strange women lying in ponds distributing swords is no basis for a system of government.")
[ Post Reply | Private Reply | To 156 | View Replies]

To: dayglored

Cool!

Tomorrow when I have not traveled for 10 hours I will give it a shot.

Right now it is all I can do but thank you, which I do, greatly.


158 posted on 12/27/2015 5:54:03 PM PST by freedumb2003 (Don't mistake my silence for ignorance, my calmness for acceptance, or my kindness for weakness)
[ Post Reply | Private Reply | To 157 | View Replies]

To: freedumb2003; ShadowAce
> Right now it is all I can do but thank you, which I do, greatly.

My pleasure, FRiend.

Now that you've got me all energized, I'm gonna try something.

Take the FreeRepublic logo:

... and the American Flag waving:

... and combine them!

Howzat?

You'll notice I shrunk the American flag waving a little bit to fit better. That's the "WIDTH=75" in its IMG tag; by default the HEIGHT will follow proportionately (or vice versa) if you only specify one dimension.

159 posted on 12/27/2015 8:28:06 PM PST by dayglored ("Listen. Strange women lying in ponds distributing swords is no basis for a system of government.")
[ Post Reply | Private Reply | To 158 | View Replies]

To: dayglored
Works like a charm!!!! You are amazing!

Thanks -- if we can't play them embedded at least we can link them using a youtube style link.

Now getting them to play embedded -- that is more of a challenge. Any ideas O HTML maestro?

160 posted on 12/28/2015 6:26:42 AM PST by freedumb2003 (Don't mistake my silence for ignorance, my calmness for acceptance, or my kindness for weakness)
[ Post Reply | Private Reply | To 159 | View Replies]


Navigation: use the links below to view more comments.
first previous 1-20 ... 121-140141-160161-180 ... 261-267 next last

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson