检索时设置页面内容的样式 [英] Styling page content while retrieving

查看:101
本文介绍了检索时设置页面内容的样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在检索数据时将页面内容的背景设置为灰色?

我调整了google但找不到任何解决方案。



甚至,我不知道它叫什么。



查看快照点击查看快照 [ ^ ]



我的尝试:



我在互联网上搜索了很多东西但找不到任何解决方案

How to style a page content's background to gray while data is retrieving?
I tuned google but couldn't find any solution yet.

Even, i don't know what's it called.

Have a look on the snapshot Click to see the snapshot[^]

What I have tried:

I have searched a lot of things over the internet but could not find any solutions yet

推荐答案

这是我想要做的事情的路线。
Here's a route to do what I think you want to do.
  1. 将背景设置为灰色。
  2. 代码< body>标签获取添加的onload事件。
  3. 在onload事件代码中,通过DOM将背景更改为您想要的任何内容(或者jQuery为您处理DOM)。

如果你不知道onload事件是什么,你应该查看 W3Schools在线网络教程 [ ^ ]

If you don't know what things like an onload event are, you should check the various free tutorials found at W3Schools Online Web Tutorials[^]


这篇关于检索时设置页面内容的样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆