mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Linux

Reply
 
Thread Tools
Old 2007-10-20, 12:29   #1
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

350710 Posts
Default Script that searches HTML and displays HTML effect

I had a hell of a time coming up with a subject line.

Anyway, I have a string in a web page(not my web page):
Code:
<td class=g>
Assuming I'm correct in the assumption that this is the command that places the color green around the text later in the HTML, I'd like to come up with a command that searches for that HTML string and goes directly to that portion of the web page. It wouldn't display the HTML, but the portion of the web page that it affects.(would 'effects' fit here too? After reading a certain xkcd comic, I'm constantly thinking about those two words)

What would be really great is if I could just find a way to make the command into a bookmark, and after clicking on the bookmark, hitting reload would take me directly to the next green box. If I can't do that, I guess I'd be happy with a text file that I could open to get the command, at least until I have it memorized.
jasong is offline   Reply With Quote
Old 2007-10-20, 20:10   #2
ValerieVonck
 
ValerieVonck's Avatar
 
Mar 2004
Belgium

15178 Posts
Default

Jasong,

I think you are looking for Cascading Style sheets.
ValerieVonck is offline   Reply With Quote
Old 2007-10-21, 12:59   #3
Mini-Geek
Account Deleted
 
Mini-Geek's Avatar
 
"Tim Sorbera"
Aug 2006
San Antonio, TX USA

11·389 Posts
Default

If you use Firefox, Firebug will do this.
http://www.getfirebug.com/ or https://addons.mozilla.org/en-US/firefox/addon/1843
Once you have it and are on the page you want to use it on, click its icon in the status bar, then click on the HTML tab, and search (search box is in the upper right of Firebug's window thing) for the HTML you want. Then roll your mouse over the HTML code there and it will light that part of the rendered HTML in your screen.
Mini-Geek is offline   Reply With Quote
Old 2007-10-22, 02:34   #4
jasong
 
jasong's Avatar
 
"Jason Goatcher"
Mar 2005

350710 Posts
Default

Thanks, Mini-Geek, that worked. :)
jasong is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mandela effect, general discussion and how would you study it scientifically? jasong Lounge 12 2018-04-15 05:13
HTML validator dislikes PrimeNet Random Poster PrimeNet 0 2009-03-30 20:41
Murphy's law in full effect against me JuanTutors Lounge 3 2007-06-15 16:42
HTML Table challenge JuanTutors Puzzles 3 2006-08-14 21:40
The effect of SSE2 in P4s cmokruhl10 Hardware 8 2003-06-17 11:18

All times are UTC. The time now is 13:44.


Wed Dec 7 13:44:11 UTC 2022 up 111 days, 11:12, 0 users, load averages: 1.36, 0.89, 0.77

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔